Zend Framework

getUrlDetails() has a missing bracket

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.5.2
  • Fix Version/s: 1.6.0
  • Component/s: Zend_Service_Delicious
  • Labels:
    None

Description

public function getUrlDetails($url) {
	    $parms = array('hash' => md5($url));
	    
	    $res = $this->makeRequest(self::JSON_URL, $parms, 'json');
	    
	    if(isset($res[0])) {
		    return $res[0];
	    } else {
		    return null;
    	}
    }

Also, this doesn't conform to code standards (function bracket must be on a new line, spaces instead of tabs).

Activity

Hide
Goran Hacek added a comment -

I have fixed a coding standards problem in revision r9638, but I can't find a missing bracket. There is no syntax error in file Delicious.php.

I am marking this issue as fixed.

Show
Goran Hacek added a comment - I have fixed a coding standards problem in revision r9638, but I can't find a missing bracket. There is no syntax error in file Delicious.php. I am marking this issue as fixed.
Hide
Wil Sinclair added a comment -

Updating for the 1.6.0 release.

Show
Wil Sinclair added a comment - Updating for the 1.6.0 release.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: