Skip to content

Commit

Permalink
better-typing-4 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-worman authored Apr 19, 2024
1 parent 1461eb4 commit a44b954
Show file tree
Hide file tree
Showing 178 changed files with 3 additions and 424 deletions.
5 changes: 0 additions & 5 deletions packages/zend-amf/library/Zend/Amf/Adobe/Introspector.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ class Zend_Amf_Adobe_Introspector
*/
protected $_xml;

/**
* Constructor.
*
* @return void
*/
public function __construct()
{
$this->_xml = new DOMDocument('1.0', 'utf-8');
Expand Down
5 changes: 0 additions & 5 deletions packages/zend-amf/library/Zend/Amf/Parse/Deserializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ abstract class Zend_Amf_Parse_Deserializer
*/
protected $_stream;

/**
* Constructor.
*
* @return void
*/
public function __construct(Zend_Amf_Parse_InputStream $stream)
{
$this->_stream = $stream;
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-amf/library/Zend/Amf/Parse/OutputStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ class Zend_Amf_Parse_OutputStream extends Zend_Amf_Util_BinaryStream
{
/**
* Constructor.
*
* @return void
*/
public function __construct()
{
Expand Down
5 changes: 0 additions & 5 deletions packages/zend-amf/library/Zend/Amf/Parse/Serializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ abstract class Zend_Amf_Parse_Serializer
*/
protected $mbStringFunctionsOverloaded;

/**
* Constructor.
*
* @return void
*/
public function __construct(Zend_Amf_Parse_OutputStream $stream)
{
$this->_stream = $stream;
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-amf/library/Zend/Amf/Request/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ class Zend_Amf_Request_Http extends Zend_Amf_Request
* Attempts to read from php://input to get raw POST request; if an error
* occurs in doing so, or if the AMF body is invalid, the request is declared a
* fault.
*
* @return void
*/
public function __construct()
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-amf/library/Zend/Amf/Value/ByteArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ class Zend_Amf_Value_ByteArray
* Create a ByteArray.
*
* @param string $data
*
* @return void
*/
public function __construct($data)
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-amf/library/Zend/Amf/Value/MessageBody.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ class Zend_Amf_Value_MessageBody
* @param string $targetUri
* @param string $responseUri
* @param string $data
*
* @return void
*/
public function __construct($targetUri, $responseUri, $data)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ class Zend_Amf_Value_Messaging_RemotingMessage extends Zend_Amf_Value_Messaging_

/**
* Create a new Remoting Message.
*
* @return void
*/
public function __construct()
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-amf/library/Zend/Amf/Value/TraitsInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ class Zend_Amf_Value_TraitsInfo
* @param bool $dynamic
* @param bool $externalizable
* @param bool $properties
*
* @return void
*/
public function __construct($className, $dynamic = false, $externalizable = false, $properties = null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ class Zend_Application_Resource_Modules extends Zend_Application_Resource_Resour
*/
protected $_bootstraps;

/**
* Constructor.
*/
public function __construct($options = null)
{
$this->_bootstraps = new ArrayObject([], ArrayObject::ARRAY_AS_PROPS);
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-cache/library/Zend/Cache/Backend/Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ class Zend_Cache_Backend_Test extends Zend_Cache_Backend implements Zend_Cache_B
* Constructor.
*
* @param array $options associative array of options
*
* @return void
*/
public function __construct($options = [])
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-cache/library/Zend/Cache/Frontend/Function.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ class Zend_Cache_Frontend_Function extends Zend_Cache_Core
* Constructor.
*
* @param array $options Associative array of options
*
* @return void
*/
public function __construct(array $options = [])
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-cache/library/Zend/Cache/Frontend/Output.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ class Zend_Cache_Frontend_Output extends Zend_Cache_Core
* Constructor.
*
* @param array $options Associative array of options
*
* @return void
*/
public function __construct(array $options = [])
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-config/library/Zend/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ class Zend_Config implements Countable, Iterator
* facilitate easy access to the data.
*
* @param bool $allowModifications
*
* @return void
*/
public function __construct(array $array, $allowModifications = false)
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-console-getopt/library/Zend/Console/Getopt.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,6 @@ class Zend_Console_Getopt
* @param array $rules
* @param array $argv
* @param array $getoptConfig
*
* @return void
*/
public function __construct($rules, $argv = null, $getoptConfig = [])
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ class Zend_Console_Getopt_Exception extends Zend_Exception
*
* @param string $message
* @param string $usage
*
* @return void
*/
public function __construct($message, $usage = '')
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-controller/library/Zend/Controller/Action.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ abstract class Zend_Controller_Action implements Zend_Controller_Action_Interfac
* constructor to customize an action controller's instantiation.
*
* @param array $invokeArgs Any additional invocation arguments
*
* @return void
*/
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = [])
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ class Zend_Controller_Action_Helper_ActionStack extends Zend_Controller_Action_H
* Constructor.
*
* Register action stack plugin
*
* @return void
*/
public function __construct()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ class Zend_Controller_Action_Helper_AjaxContext extends Zend_Controller_Action_H
* Constructor.
*
* Add HTML context
*
* @return void
*/
public function __construct()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@ class Zend_Controller_Action_Helper_ContextSwitch extends Zend_Controller_Action
* Constructor.
*
* @param array|Zend_Config $options
*
* @return void
*/
public function __construct($options = null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ class Zend_Controller_Action_Helper_FlashMessenger extends Zend_Controller_Actio

/**
* __construct() - Instance constructor, needed to get iterators, etc.
*
* @return void
*/
public function __construct()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,6 @@ class Zend_Controller_Action_Helper_ViewRenderer extends Zend_Controller_Action_
* Constructor.
*
* Optionally set view object and options.
*
* @return void
*/
public function __construct(?Zend_View_Interface $view = null, array $options = [])
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,6 @@ public static function getStack()
return self::$_stack;
}

/**
* Constructor.
*
* @return void
*/
public function __construct(Zend_Controller_Action $actionController)
{
$this->_actionController = $actionController;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ interface Zend_Controller_Action_Interface
* constructor to customize an action controller's instantiation.
*
* @param array $invokeArgs Any additional invocation arguments
*
* @return void
*/
public function __construct(Zend_Controller_Request_Abstract $request,
Zend_Controller_Response_Abstract $response,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@ abstract class Zend_Controller_Dispatcher_Abstract implements Zend_Controller_Di
*/
protected $_wordDelimiter = ['-', '.'];

/**
* Constructor.
*
* @return void
*/
public function __construct(array $params = [])
{
$this->setParams($params);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ class Zend_Controller_Dispatcher_Standard extends Zend_Controller_Dispatcher_Abs

/**
* Constructor: Set current module to default value.
*
* @return void
*/
public function __construct(array $params = [])
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ class Zend_Controller_Plugin_ActionStack extends Zend_Controller_Plugin_Abstract
* Constructor.
*
* @param string $key
*
* @return void
*/
public function __construct(?Zend_Registry $registry = null, $key = null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ class Zend_Controller_Plugin_ErrorHandler extends Zend_Controller_Plugin_Abstrac
* - module
* - controller
* - action
*
* @return void
*/
public function __construct(array $options = [])
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ abstract class Zend_Controller_Router_Abstract implements Zend_Controller_Router
*/
protected $_invokeParams = [];

/**
* Constructor.
*/
public function __construct(array $params = [])
{
$this->setParams($params);
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-db/library/Zend/Db/Profiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ class Zend_Db_Profiler
* specifically enabled by passing in $enabled here or calling setEnabled().
*
* @param bool $enabled
*
* @return void
*/
public function __construct($enabled = false)
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-db/library/Zend/Db/Profiler/Firebug.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ class Zend_Db_Profiler_Firebug extends Zend_Db_Profiler
* Constructor.
*
* @param string $label OPTIONAL Label for the profiling info
*
* @return void
*/
public function __construct($label = null)
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-db/library/Zend/Db/Profiler/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ class Zend_Db_Profiler_Query
*
* @param string $query
* @param int $queryType
*
* @return void
*/
public function __construct($query, $queryType)
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-db/library/Zend/Db/Table/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,6 @@ abstract class Zend_Db_Table_Abstract
* - metadataCache = cache for information from adapter describeTable().
*
* @param mixed $config array of user-specified config options, or just the Db Adapter
*
* @return void
*/
public function __construct($config = [])
{
Expand Down
3 changes: 0 additions & 3 deletions packages/zend-db/library/Zend/Db/Table/Rowset/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ abstract class Zend_Db_Table_Rowset_Abstract implements SeekableIterator, Counta
*/
protected $_readOnly = false;

/**
* Constructor.
*/
public function __construct(array $config)
{
if (isset($config['table'])) {
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-dojo/library/Zend/Dojo/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ class Zend_Dojo_Data implements ArrayAccess, Iterator, Countable
* @param string|null $identifier
* @param array|Traversable|null $items
* @param string|null $label
*
* @return void
*/
public function __construct($identifier = null, $items = null, $label = null)
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-dojo/library/Zend/Dojo/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ class Zend_Dojo_Form extends Zend_Form
* Constructor.
*
* @param array|Zend_Config|null $options
*
* @return void
*/
public function __construct($options = null)
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-dojo/library/Zend/Dojo/Form/DisplayGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ class Zend_Dojo_Form_DisplayGroup extends Zend_Form_DisplayGroup
*
* @param string $name
* @param array|Zend_Config|null $options
*
* @return void
*/
public function __construct($name, Zend_Loader_PluginLoader $loader, $options = null)
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-dojo/library/Zend/Dojo/Form/Element/Button.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ class Zend_Dojo_Form_Element_Button extends Zend_Dojo_Form_Element_Dijit
*
* @param string|array|Zend_Config $spec Element name or configuration
* @param string|array|Zend_Config $options Element value or configuration
*
* @return void
*/
public function __construct($spec, $options = null)
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-dojo/library/Zend/Dojo/Form/Element/Dijit.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ abstract class Zend_Dojo_Form_Element_Dijit extends Zend_Form_Element
* Constructor.
*
* @todo Should we set dojo view helper paths here?
*
* @return void
*/
public function __construct($spec, $options = null)
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-dojo/library/Zend/Dojo/Form/SubForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ class Zend_Dojo_Form_SubForm extends Zend_Form_SubForm
* Constructor.
*
* @param array|Zend_Config|null $options
*
* @return void
*/
public function __construct($options = null)
{
Expand Down
2 changes: 0 additions & 2 deletions packages/zend-dojo/library/Zend/Dojo/View/Helper/Dojo.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ class Zend_Dojo_View_Helper_Dojo
*
* Retrieve container from registry or create new container and store in
* registry.
*
* @return void
*/
public function __construct()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ class Zend_EventManager_Event implements Zend_EventManager_EventDescription
* @param string $name Event name
* @param string|object $target
* @param array|ArrayAccess $params
*
* @return void
*/
public function __construct($name = null, $target = null, $params = null)
{
Expand Down
Loading

0 comments on commit a44b954

Please sign in to comment.