Skip to content

Commit

Permalink
simplify var annotations
Browse files Browse the repository at this point in the history
.
  • Loading branch information
falkenhawk committed Jan 3, 2024
1 parent e94e931 commit f4af896
Show file tree
Hide file tree
Showing 275 changed files with 409 additions and 409 deletions.
2 changes: 1 addition & 1 deletion packages/zend-amf/library/Zend/Amf/Adobe/Introspector.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
class Zend_Amf_Adobe_Introspector
{
/**
* @var \DOMElement|mixed
* @var DOMElement
*/
protected $_ops;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
abstract class Zend_Filter_Compress_CompressAbstract implements Zend_Filter_Compress_CompressInterface
{
/**
* @var mixed|array<string, mixed>
* @var array
*/
protected $_options;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
class Zend_Loader_Autoloader_Resource implements Zend_Loader_Autoloader_Interface
{
/**
* @var array<string, mixed>|array<string, object>
* @var array
*/
protected $_resources;

Expand Down
2 changes: 1 addition & 1 deletion packages/zend-pdf/library/Zend/Pdf/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
class Zend_Pdf_Parser
{
/**
* @var array<string, mixed>
* @var array
*/
protected $_refTable;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
class Zend_Search_Lucene_Search_Query_Phrase extends Zend_Search_Lucene_Search_Query
{
/**
* @var \Zend_Search_Lucene_Search_Weight_Term[]
* @var Zend_Search_Lucene_Search_Weight_Term[]
*/
private $_weights;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
class Zend_Search_Lucene_Search_Weight_Phrase extends Zend_Search_Lucene_Search_Weight
{
/**
* @var float|mixed
* @var float
*/
private $_queryWeight;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
class Zend_Service_Amazon_SimpleDb extends Zend_Service_Amazon_Abstract
{
/**
* @var \Zend_Uri|mixed
* @var Zend_Uri
*/
protected $_endpoint;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Zend_Service_Yahoo_Result
protected $_namespace;

/**
* @var \Zend_Service_Yahoo_Image|null
* @var Zend_Service_Yahoo_Image|null
*/
public $Thumbnail;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
class Zend_Tool_Framework_Loader_IncludePathLoader_RecursiveFilterIterator extends RecursiveFilterIterator
{
/**
* @var mixed|\ReflectionClass
* @var ReflectionClass
*/
public $ref;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Zend_Tool_Framework_System_Provider_Manifest
implements Zend_Tool_Framework_Provider_Interface, Zend_Tool_Framework_Registry_EnabledInterface
{
/**
* @var \Zend_Tool_Framework_Registry_Interface|mixed
* @var Zend_Tool_Framework_Registry_Interface
*/
protected $_registry;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
class Zend_Tool_Project_Profile_Iterator_ContextFilter extends RecursiveFilterIterator
{
/**
* @var mixed|\ReflectionClass
* @var ReflectionClass
*/
public $ref;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
class Zend_Tool_Project_Profile_Resource_Container implements RecursiveIterator, Countable
{
/**
* @var \Zend_Tool_Project_Profile_Resource_Container|mixed
* @var Zend_Tool_Project_Profile_Resource_Container
*/
protected $_parentResource;

Expand Down
2 changes: 1 addition & 1 deletion packages/zend-xmlrpc/library/Zend/XmlRpc/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
class Zend_XmlRpc_Server extends Zend_Server_Abstract
{
/**
* @var mixed|\Zend_XmlRpc_Server_System
* @var Zend_XmlRpc_Server_System
*/
protected $_system;

Expand Down
2 changes: 1 addition & 1 deletion tests/Zend/Amf/Adobe/IntrospectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
class Zend_Amf_Adobe_IntrospectorTest extends PHPUnit_Framework_TestCase
{
/**
* @var \Zend_Amf_Adobe_Introspector|mixed
* $var Zend_Amf_Adobe_Introspector
*/
protected $introspector;

Expand Down
2 changes: 1 addition & 1 deletion tests/Zend/Amf/AuthTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Zend_Amf_AuthTest extends PHPUnit_Framework_TestCase
{

/**
* @var \Zend_Acl|mixed
* $var Zend_Acl
*/
protected $_acl;

Expand Down
4 changes: 2 additions & 2 deletions tests/Zend/Amf/ResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
class Zend_Amf_ResponseTest extends PHPUnit_Framework_TestCase
{
/**
* @var \Zend_Amf_Value_MessageHeader|mixed
* $var Zend_Amf_Value_MessageHeader
*/
protected $header1;

/**
* @var \Zend_Amf_Value_MessageHeader|mixed
* $var Zend_Amf_Value_MessageHeader
*/
protected $header2;

Expand Down
2 changes: 1 addition & 1 deletion tests/Zend/Amf/Value/MessageBodyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
class Zend_Amf_Value_MessageBodyTest extends PHPUnit_Framework_TestCase
{
/**
* @var \Zend_Amf_Value_MessageBody|mixed
* $var Zend_Amf_Value_MessageBody
*/
protected $body;

Expand Down
8 changes: 4 additions & 4 deletions tests/Zend/Application/Bootstrap/BootstrapTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,22 @@
class Zend_Application_Bootstrap_BootstrapTest extends PHPUnit_Framework_TestCase
{
/**
* @var mixed[]|mixed
* @var array
*/
protected $loaders;

/**
* @var \Zend_Loader_Autoloader
* $var Zend_Loader_Autoloader
*/
protected $autoloader;

/**
* @var \Zend_Application|mixed
* $var Zend_Application
*/
protected $application;

/**
* @var \Zend_Application_Bootstrap_Bootstrap|mixed
* $var Zend_Application_Bootstrap_Bootstrap
*/
protected $bootstrap;

Expand Down
4 changes: 2 additions & 2 deletions tests/Zend/Cache/ClassFrontendTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ public function throwException()
class Zend_Cache_ClassFrontendTest extends PHPUnit_Framework_TestCase
{
/**
* @var \Zend_Cache_Backend_Test|mixed
* $var Zend_Cache_Backend_Test
*/
protected $_backend1;

/**
* @var \Zend_Cache_Backend_Test|mixed
* $var Zend_Cache_Backend_Test
*/
protected $_backend2;

Expand Down
2 changes: 1 addition & 1 deletion tests/Zend/Cache/CoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
class Zend_Cache_CoreTest extends PHPUnit_Framework_TestCase
{
/**
* @var \Zend_Cache_Backend_Test|mixed
* $var Zend_Cache_Backend_Test
*/
protected $_backend;

Expand Down
2 changes: 1 addition & 1 deletion tests/Zend/Cache/FileFrontendTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*/
class Zend_Cache_FileFrontendTest extends PHPUnit_Framework_TestCase {
/**
* @var \Zend_Cache_Backend_Test|mixed
* $var Zend_Cache_Backend_Test
*/
protected $_backend;

Expand Down
2 changes: 1 addition & 1 deletion tests/Zend/Cache/FunctionFrontendTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function foobar($param1, $param2)
*/
class Zend_Cache_FunctionFrontendTest extends PHPUnit_Framework_TestCase {
/**
* @var \Zend_Cache_Backend_Test|mixed
* $var Zend_Cache_Backend_Test
*/
protected $_backend;

Expand Down
2 changes: 1 addition & 1 deletion tests/Zend/Cache/ManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Zend_Cache_ManagerTest extends PHPUnit_Framework_TestCase
protected $_cache_dir;

/**
* @var \Zend_Cache_Core|null|mixed
* $var Zend_Cache_Core|null
*/
protected $_cache;

Expand Down
2 changes: 1 addition & 1 deletion tests/Zend/Cache/OutputFrontendTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*/
class Zend_Cache_OutputFrontendTest extends PHPUnit_Framework_TestCase {
/**
* @var \Zend_Cache_Backend_Test|mixed
* $var Zend_Cache_Backend_Test
*/
protected $_backend;

Expand Down
2 changes: 1 addition & 1 deletion tests/Zend/Cache/PageFrontendTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*/
class Zend_Cache_PageFrontendTest extends PHPUnit_Framework_TestCase {
/**
* @var \Zend_Cache_Backend_Test|mixed
* $var Zend_Cache_Backend_Test
*/
protected $_backend;

Expand Down
4 changes: 2 additions & 2 deletions tests/Zend/Captcha/DumbTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ class Zend_Captcha_DumbTest extends PHPUnit_Framework_TestCase
protected $word;

/**
* @var \Zend_Form_Element_Captcha|mixed
* $var Zend_Form_Element_Captcha
*/
protected $element;
/**
* @var \Zend_Captcha_Adapter|mixed
* $var Zend_Captcha_Adapter
*/
protected $captcha;
/**
Expand Down
4 changes: 2 additions & 2 deletions tests/Zend/Captcha/FigletTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ class Zend_Captcha_FigletTest extends PHPUnit_Framework_TestCase
protected $word;

/**
* @var \Zend_Form_Element_Captcha|mixed
* $var Zend_Form_Element_Captcha
*/
protected $element;

/**
* @var \Zend_Captcha_Adapter|mixed
* $var Zend_Captcha_Adapter
*/
protected $captcha;

Expand Down
4 changes: 2 additions & 2 deletions tests/Zend/Captcha/ImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ class Zend_Captcha_ImageTest extends PHPUnit_Framework_TestCase
protected $testDir;

/**
* @var \Zend_Form_Element_Captcha|mixed
* $var Zend_Form_Element_Captcha
*/
protected $element;

/**
* @var \Zend_Captcha_Adapter|mixed
* $var Zend_Captcha_Adapter
*/
protected $captcha;

Expand Down
4 changes: 2 additions & 2 deletions tests/Zend/Captcha/ReCaptchaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ class Zend_Captcha_ReCaptchaTest extends PHPUnit_Framework_TestCase
protected $word;

/**
* @var \Zend_Form_Element_Captcha|mixed
* $var Zend_Form_Element_Captcha
*/
protected $element;

/**
* @var \Zend_Captcha_Adapter
* $var Zend_Captcha_Adapter
*/
protected $captcha;

Expand Down
16 changes: 8 additions & 8 deletions tests/Zend/Controller/Action/Helper/AjaxContextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,42 +53,42 @@
class Zend_Controller_Action_Helper_AjaxContextTest extends PHPUnit_Framework_TestCase
{
/**
* @var \Zend_Controller_Front|mixed
* $var Zend_Controller_Front
*/
protected $front;

/**
* @var \Zend_Layout|mixed
* $var Zend_Layout
*/
protected $layout;

/**
* @var \Zend_Controller_Action_Helper_AjaxContext|mixed
* $var Zend_Controller_Action_Helper_AjaxContext
*/
protected $helper;

/**
* @var \Zend_Controller_Request_Http|mixed
* $var Zend_Controller_Request_Http
*/
protected $request;

/**
* @var \Zend_Controller_Response_Cli|mixed
* $var Zend_Controller_Response_Cli
*/
protected $response;

/**
* @var \Zend_VIew|mixed
* $var Zend_VIew
*/
protected $view;

/**
* @var \Zend_Controller_Action_Helper_Abstract|mixed
* $var Zend_Controller_Action_Helper_Abstract
*/
protected $viewRenderer;

/**
* @var \Zend_Controller_Action_Helper_AjaxContextTestController|mixed
* $var Zend_Controller_Action_Helper_AjaxContextTestController
*/
protected $controller;

Expand Down
10 changes: 5 additions & 5 deletions tests/Zend/Controller/Action/Helper/AutoCompleteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,27 +52,27 @@
class Zend_Controller_Action_Helper_AutoCompleteTest extends PHPUnit_Framework_TestCase
{
/**
* @var \Zend_Controller_Request_Http|mixed
* $var Zend_Controller_Request_Http
*/
protected $request;

/**
* @var \Zend_Controller_Response_Cli|mixed
* $var Zend_Controller_Response_Cli
*/
protected $response;

/**
* @var \Zend_Controller_Front|mixed
* $var Zend_Controller_Front
*/
protected $front;

/**
* @var \Zend_Controller_Action_Helper_Abstract|mixed
* $var Zend_Controller_Action_Helper_Abstract
*/
protected $viewRenderer;

/**
* @var \Zend_Layout|mixed
* $var Zend_Layout
*/
protected $layout;

Expand Down
Loading

0 comments on commit f4af896

Please sign in to comment.