Partial revert #7665 - undo changes to thirdparty dir

This commit is contained in:
Daniel Hensby 2018-02-09 18:43:02 +00:00
parent 747a98a07f
commit 5d00d28b2f
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E
6 changed files with 11 additions and 11 deletions

View File

@ -850,7 +850,7 @@ class Zend_Currency
if (!is_string($value) || (strpos($value, '0') === false)) {
require_once 'Zend/Currency/Exception.php';
throw new Zend_Currency_Exception("'" .
((gettype($value) === 'SS_Object') ? get_class($value) : $value)
((gettype($value) === 'object') ? get_class($value) : $value)
. "' is no format token");
}
}

View File

@ -371,7 +371,7 @@ class Zend_Loader_Autoloader
/**
* Add an autoloader to the beginning of the stack
*
* @param SS_Object|array|string $callback PHP callback or Zend_Loader_Autoloader_Interface implementation
* @param object|array|string $callback PHP callback or Zend_Loader_Autoloader_Interface implementation
* @param string|array $namespace Specific namespace(s) under which to register callback
* @return Zend_Loader_Autoloader
*/
@ -394,7 +394,7 @@ class Zend_Loader_Autoloader
/**
* Append an autoloader to the autoloader stack
*
* @param SS_Object|array|string $callback PHP callback or Zend_Loader_Autoloader_Interface implementation
* @param object|array|string $callback PHP callback or Zend_Loader_Autoloader_Interface implementation
* @param string|array $namespace Specific namespace(s) under which to register callback
* @return Zend_Loader_Autoloader
*/
@ -417,7 +417,7 @@ class Zend_Loader_Autoloader
/**
* Remove an autoloader from the autoloader stack
*
* @param SS_Object|array|string $callback PHP callback or Zend_Loader_Autoloader_Interface implementation
* @param object|array|string $callback PHP callback or Zend_Loader_Autoloader_Interface implementation
* @param null|string|array $namespace Specific namespace(s) from which to remove autoloader
* @return Zend_Loader_Autoloader
*/

View File

@ -446,7 +446,7 @@ class Zend_Loader_Autoloader_Resource implements Zend_Loader_Autoloader_Interfac
*
* @param string $resource
* @param string $type
* @return SS_Object
* @return object
* @throws Zend_Loader_Exception if resource type not specified or invalid
*/
public function load($resource, $type = null)

View File

@ -242,7 +242,7 @@ class Zend_Log
* @param string $type 'writer' of 'filter'
* @param mixed $config Zend_Config or Array
* @param string $namespace
* @return SS_Object
* @return object
* @throws Zend_Log_Exception
*/
protected function _constructFromConfig($type, $config, $namespace)

View File

@ -14,8 +14,8 @@ class SimpleTestCompatibility {
/**
* Creates a copy whether in PHP5 or PHP4.
* @param SS_Object $object Thing to copy.
* @return SS_Object A copy.
* @param object $object Thing to copy.
* @return object A copy.
* @access public
* @static
*/
@ -128,7 +128,7 @@ class SimpleTestCompatibility {
/**
* Test to see if an object is a member of a
* class hiearchy.
* @param SS_Object $object Object to test.
* @param object $object Object to test.
* @param string $class Root name of hiearchy.
* @return boolean True if class in hiearchy.
* @access public

View File

@ -4,7 +4,7 @@
*
* @package MCManager.utils
* @author Moxiecode
* @copyright Copyright <EFBFBD> 2007, Moxiecode Systems AB, All rights reserved.
* @copyright Copyright © 2007, Moxiecode Systems AB, All rights reserved.
*/
define('JSON_BOOL', 1);
@ -474,7 +474,7 @@ class Moxiecode_JSON {
case 'array':
return $this->_encodeArray($input);
case 'SS_Object':
case 'object':
return $this->_encodeArray(get_object_vars($input));
}