Completed
Push — master ( 96df1a...267f86 )
by Naveen
09:52
created
vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php 3 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     /**
116 116
      * Returns a mock object for the specified class.
117 117
      *
118
-     * @param  array|string                                  $type
118
+     * @param  string                                  $type
119 119
      * @param  array                                         $methods
120 120
      * @param  array                                         $arguments
121 121
      * @param  string                                        $mockClassName
@@ -858,7 +858,7 @@  discard block
 block discarded – undo
858 858
      * @param  array $mockClassName
859 859
      * @param  bool  $isInterface
860 860
      * @param  array $additionalInterfaces
861
-     * @return array
861
+     * @return string
862 862
      */
863 863
     protected function generateMockClassDeclaration(array $mockClassName, $isInterface, array $additionalInterfaces = array())
864 864
     {
Please login to merge, or discard this patch.
Indentation   +85 added lines, -85 removed lines patch added patch discarded remove patch
@@ -35,81 +35,81 @@  discard block
 block discarded – undo
35 35
      * @var array
36 36
      */
37 37
     protected $blacklistedMethodNames = array(
38
-      '__CLASS__'       => true,
39
-      '__DIR__'         => true,
40
-      '__FILE__'        => true,
41
-      '__FUNCTION__'    => true,
42
-      '__LINE__'        => true,
43
-      '__METHOD__'      => true,
44
-      '__NAMESPACE__'   => true,
45
-      '__TRAIT__'       => true,
46
-      '__clone'         => true,
47
-      '__halt_compiler' => true,
48
-      'abstract'        => true,
49
-      'and'             => true,
50
-      'array'           => true,
51
-      'as'              => true,
52
-      'break'           => true,
53
-      'callable'        => true,
54
-      'case'            => true,
55
-      'catch'           => true,
56
-      'class'           => true,
57
-      'clone'           => true,
58
-      'const'           => true,
59
-      'continue'        => true,
60
-      'declare'         => true,
61
-      'default'         => true,
62
-      'die'             => true,
63
-      'do'              => true,
64
-      'echo'            => true,
65
-      'else'            => true,
66
-      'elseif'          => true,
67
-      'empty'           => true,
68
-      'enddeclare'      => true,
69
-      'endfor'          => true,
70
-      'endforeach'      => true,
71
-      'endif'           => true,
72
-      'endswitch'       => true,
73
-      'endwhile'        => true,
74
-      'eval'            => true,
75
-      'exit'            => true,
76
-      'expects'         => true,
77
-      'extends'         => true,
78
-      'final'           => true,
79
-      'for'             => true,
80
-      'foreach'         => true,
81
-      'function'        => true,
82
-      'global'          => true,
83
-      'goto'            => true,
84
-      'if'              => true,
85
-      'implements'      => true,
86
-      'include'         => true,
87
-      'include_once'    => true,
88
-      'instanceof'      => true,
89
-      'insteadof'       => true,
90
-      'interface'       => true,
91
-      'isset'           => true,
92
-      'list'            => true,
93
-      'namespace'       => true,
94
-      'new'             => true,
95
-      'or'              => true,
96
-      'print'           => true,
97
-      'private'         => true,
98
-      'protected'       => true,
99
-      'public'          => true,
100
-      'require'         => true,
101
-      'require_once'    => true,
102
-      'return'          => true,
103
-      'static'          => true,
104
-      'switch'          => true,
105
-      'throw'           => true,
106
-      'trait'           => true,
107
-      'try'             => true,
108
-      'unset'           => true,
109
-      'use'             => true,
110
-      'var'             => true,
111
-      'while'           => true,
112
-      'xor'             => true
38
+        '__CLASS__'       => true,
39
+        '__DIR__'         => true,
40
+        '__FILE__'        => true,
41
+        '__FUNCTION__'    => true,
42
+        '__LINE__'        => true,
43
+        '__METHOD__'      => true,
44
+        '__NAMESPACE__'   => true,
45
+        '__TRAIT__'       => true,
46
+        '__clone'         => true,
47
+        '__halt_compiler' => true,
48
+        'abstract'        => true,
49
+        'and'             => true,
50
+        'array'           => true,
51
+        'as'              => true,
52
+        'break'           => true,
53
+        'callable'        => true,
54
+        'case'            => true,
55
+        'catch'           => true,
56
+        'class'           => true,
57
+        'clone'           => true,
58
+        'const'           => true,
59
+        'continue'        => true,
60
+        'declare'         => true,
61
+        'default'         => true,
62
+        'die'             => true,
63
+        'do'              => true,
64
+        'echo'            => true,
65
+        'else'            => true,
66
+        'elseif'          => true,
67
+        'empty'           => true,
68
+        'enddeclare'      => true,
69
+        'endfor'          => true,
70
+        'endforeach'      => true,
71
+        'endif'           => true,
72
+        'endswitch'       => true,
73
+        'endwhile'        => true,
74
+        'eval'            => true,
75
+        'exit'            => true,
76
+        'expects'         => true,
77
+        'extends'         => true,
78
+        'final'           => true,
79
+        'for'             => true,
80
+        'foreach'         => true,
81
+        'function'        => true,
82
+        'global'          => true,
83
+        'goto'            => true,
84
+        'if'              => true,
85
+        'implements'      => true,
86
+        'include'         => true,
87
+        'include_once'    => true,
88
+        'instanceof'      => true,
89
+        'insteadof'       => true,
90
+        'interface'       => true,
91
+        'isset'           => true,
92
+        'list'            => true,
93
+        'namespace'       => true,
94
+        'new'             => true,
95
+        'or'              => true,
96
+        'print'           => true,
97
+        'private'         => true,
98
+        'protected'       => true,
99
+        'public'          => true,
100
+        'require'         => true,
101
+        'require_once'    => true,
102
+        'return'          => true,
103
+        'static'          => true,
104
+        'switch'          => true,
105
+        'throw'           => true,
106
+        'trait'           => true,
107
+        'try'             => true,
108
+        'unset'           => true,
109
+        'use'             => true,
110
+        'var'             => true,
111
+        'while'           => true,
112
+        'xor'             => true
113 113
     );
114 114
 
115 115
     /**
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
         );
396 396
 
397 397
         $templateDir   = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'Generator' .
398
-                         DIRECTORY_SEPARATOR;
398
+                            DIRECTORY_SEPARATOR;
399 399
         $classTemplate = new Text_Template(
400 400
             $templateDir . 'trait_class.tpl'
401 401
         );
@@ -456,7 +456,7 @@  discard block
 block discarded – undo
456 456
         );
457 457
 
458 458
         $templateDir   = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'Generator' .
459
-                         DIRECTORY_SEPARATOR;
459
+                            DIRECTORY_SEPARATOR;
460 460
         $classTemplate = new Text_Template(
461 461
             $templateDir . 'trait_class.tpl'
462 462
         );
@@ -624,7 +624,7 @@  discard block
 block discarded – undo
624 624
     protected function generateMock($type, $methods, $mockClassName, $callOriginalClone, $callAutoload, $cloneArguments, $callOriginalMethods)
625 625
     {
626 626
         $templateDir   = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'Generator' .
627
-                         DIRECTORY_SEPARATOR;
627
+                            DIRECTORY_SEPARATOR;
628 628
         $classTemplate = new Text_Template(
629 629
             $templateDir . 'mocked_class.tpl'
630 630
         );
@@ -807,8 +807,8 @@  discard block
 block discarded – undo
807 807
         );
808 808
 
809 809
         return array(
810
-          'code'          => $classTemplate->render(),
811
-          'mockClassName' => $mockClassName['className']
810
+            'code'          => $classTemplate->render(),
811
+            'mockClassName' => $mockClassName['className']
812 812
         );
813 813
     }
814 814
 
@@ -842,15 +842,15 @@  discard block
 block discarded – undo
842 842
         if ($className == '') {
843 843
             do {
844 844
                 $className = $prefix . $type . '_' .
845
-                             substr(md5(microtime()), 0, 8);
845
+                                substr(md5(microtime()), 0, 8);
846 846
             } while (class_exists($className, false));
847 847
         }
848 848
 
849 849
         return array(
850
-          'className'         => $className,
851
-          'originalClassName' => $type,
852
-          'fullClassName'     => $fullClassName,
853
-          'namespaceName'     => $namespaceName
850
+            'className'         => $className,
851
+            'originalClassName' => $type,
852
+            'fullClassName'     => $fullClassName,
853
+            'namespaceName'     => $namespaceName
854 854
         );
855 855
     }
856 856
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 
152 152
         if (is_array($type)) {
153 153
             $type = array_unique(array_map(
154
-                function ($type) {
154
+                function($type) {
155 155
                     if ($type === 'Traversable' ||
156 156
                       $type === '\\Traversable' ||
157 157
                       $type === '\\Iterator') {
@@ -555,7 +555,7 @@  discard block
 block discarded – undo
555 555
             $name      = substr($method, $nameStart, $nameEnd - $nameStart);
556 556
 
557 557
             if (empty($methods) || in_array($name, $methods)) {
558
-                $args    = explode(
558
+                $args = explode(
559 559
                     ',',
560 560
                     substr(
561 561
                         $method,
Please login to merge, or discard this patch.
phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation/Object.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,10 +22,10 @@
 block discarded – undo
22 22
 
23 23
     /**
24 24
      * @param string $className
25
-     * @param string $methodname
25
+     * @param string $methodName
26 26
      * @param array  $parameters
27
-     * @param object $object
28
-     * @param object $cloneObjects
27
+     * @param stdClass $object
28
+     * @param object stdClass
29 29
      */
30 30
     public function __construct($className, $methodName, array $parameters, $object, $cloneObjects = false)
31 31
     {
Please login to merge, or discard this patch.
phpunit/phpunit-mock-objects/src/Framework/MockObject/Invocation/Static.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 
60 60
     /**
61 61
      * @param string $className
62
-     * @param string $methodname
62
+     * @param string $methodName
63 63
      * @param array  $parameters
64 64
      * @param bool   $cloneObjects
65 65
      */
Please login to merge, or discard this patch.
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -21,25 +21,25 @@
 block discarded – undo
21 21
      * @var array
22 22
      */
23 23
     protected static $uncloneableExtensions = array(
24
-      'mysqli'    => true,
25
-      'SQLite'    => true,
26
-      'sqlite3'   => true,
27
-      'tidy'      => true,
28
-      'xmlwriter' => true,
29
-      'xsl'       => true
24
+        'mysqli'    => true,
25
+        'SQLite'    => true,
26
+        'sqlite3'   => true,
27
+        'tidy'      => true,
28
+        'xmlwriter' => true,
29
+        'xsl'       => true
30 30
     );
31 31
 
32 32
     /**
33 33
      * @var array
34 34
      */
35 35
     protected static $uncloneableClasses = array(
36
-      'Closure',
37
-      'COMPersistHelper',
38
-      'IteratorIterator',
39
-      'RecursiveIteratorIterator',
40
-      'SplFileObject',
41
-      'PDORow',
42
-      'ZipArchive'
36
+        'Closure',
37
+        'COMPersistHelper',
38
+        'IteratorIterator',
39
+        'RecursiveIteratorIterator',
40
+        'SplFileObject',
41
+        'PDORow',
42
+        'ZipArchive'
43 43
     );
44 44
 
45 45
     /**
Please login to merge, or discard this patch.
phpunit/phpunit-mock-objects/src/Framework/MockObject/InvocationMocker.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
     /**
55 55
      * @param  mixed     $id
56
-     * @return bool|null
56
+     * @return PHPUnit_Framework_MockObject_Builder_Match|null
57 57
      */
58 58
     public function lookupId($id)
59 59
     {
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
     }
146 146
 
147 147
     /**
148
-     * @return bool
148
+     * @return boolean|null
149 149
      */
150 150
     public function verify()
151 151
     {
Please login to merge, or discard this patch.
phpunit-mock-objects/src/Framework/MockObject/Matcher/MethodName.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
     /**
59 59
      * @param  PHPUnit_Framework_MockObject_Invocation $invocation
60
-     * @return bool
60
+     * @return boolean|null
61 61
      */
62 62
     public function matches(PHPUnit_Framework_MockObject_Invocation $invocation)
63 63
     {
Please login to merge, or discard this patch.
phpunit-mock-objects/src/Framework/MockObject/Matcher/Parameters.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -79,9 +79,6 @@
 block discarded – undo
79 79
      * does the matcher will get the invoked() method called which should check
80 80
      * if an expectation is met.
81 81
      *
82
-     * @param  PHPUnit_Framework_MockObject_Invocation      $invocation
83
-     *                                                                  Object containing information on a mocked or stubbed method which
84
-     *                                                                  was invoked.
85 82
      * @return bool
86 83
      * @throws PHPUnit_Framework_ExpectationFailedException
87 84
      */
Please login to merge, or discard this patch.
src/Framework/MockObject/Matcher/StatelessInvocation.php 1 patch
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -45,10 +45,7 @@
 block discarded – undo
45 45
      * the matcher will get the invoked() method called which should check if an
46 46
      * expectation is met.
47 47
      *
48
-     * @param  PHPUnit_Framework_MockObject_Invocation $invocation
49
-     *                                                             Object containing information on a mocked or stubbed method which
50
-     *                                                             was invoked.
51
-     * @return bool
48
+     * @return boolean|null
52 49
      */
53 50
     public function verify()
54 51
     {
Please login to merge, or discard this patch.
phpunit/phpunit-mock-objects/src/Framework/MockObject/MockBuilder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
     /**
74 74
      * @param PHPUnit_Framework_TestCase $testCase
75
-     * @param array|string               $type
75
+     * @param string               $type
76 76
      */
77 77
     public function __construct(PHPUnit_Framework_TestCase $testCase, $type)
78 78
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     /**
143 143
      * Specifies the subset of methods to mock. Default is to mock all of them.
144 144
      *
145
-     * @param  array|null                               $methods
145
+     * @param  string[]                               $methods
146 146
      * @return PHPUnit_Framework_MockObject_MockBuilder
147 147
      */
148 148
     public function setMethods($methods)
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/src/Framework/Assert.php 1 patch
Doc Comments   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -160,9 +160,9 @@  discard block
 block discarded – undo
160 160
      * Asserts that a haystack that is stored in a static attribute of a class
161 161
      * or an attribute of an object contains a needle.
162 162
      *
163
-     * @param mixed  $needle
163
+     * @param string|boolean  $needle
164 164
      * @param string $haystackAttributeName
165
-     * @param mixed  $haystackClassOrObject
165
+     * @param ClassWithNonPublicAttributes  $haystackClassOrObject
166 166
      * @param string $message
167 167
      * @param bool   $ignoreCase
168 168
      * @param bool   $checkForObjectIdentity
@@ -233,9 +233,9 @@  discard block
 block discarded – undo
233 233
      * Asserts that a haystack that is stored in a static attribute of a class
234 234
      * or an attribute of an object does not contain a needle.
235 235
      *
236
-     * @param mixed  $needle
236
+     * @param string|boolean  $needle
237 237
      * @param string $haystackAttributeName
238
-     * @param mixed  $haystackClassOrObject
238
+     * @param ClassWithNonPublicAttributes  $haystackClassOrObject
239 239
      * @param string $message
240 240
      * @param bool   $ignoreCase
241 241
      * @param bool   $checkForObjectIdentity
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
      *
323 323
      * @param string $type
324 324
      * @param string $haystackAttributeName
325
-     * @param mixed  $haystackClassOrObject
325
+     * @param ClassWithNonPublicAttributes  $haystackClassOrObject
326 326
      * @param bool   $isNativeType
327 327
      * @param string $message
328 328
      *
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
      *
382 382
      * @param string $type
383 383
      * @param string $haystackAttributeName
384
-     * @param mixed  $haystackClassOrObject
384
+     * @param ClassWithNonPublicAttributes  $haystackClassOrObject
385 385
      * @param bool   $isNativeType
386 386
      * @param string $message
387 387
      *
@@ -429,7 +429,7 @@  discard block
 block discarded – undo
429 429
      *
430 430
      * @param int    $expectedCount
431 431
      * @param string $haystackAttributeName
432
-     * @param mixed  $haystackClassOrObject
432
+     * @param stdClass  $haystackClassOrObject
433 433
      * @param string $message
434 434
      *
435 435
      * @since Method available since Release 3.6.0
@@ -475,7 +475,7 @@  discard block
 block discarded – undo
475 475
      *
476 476
      * @param int    $expectedCount
477 477
      * @param string $haystackAttributeName
478
-     * @param mixed  $haystackClassOrObject
478
+     * @param stdClass  $haystackClassOrObject
479 479
      * @param string $message
480 480
      *
481 481
      * @since Method available since Release 3.6.0
@@ -569,7 +569,7 @@  discard block
 block discarded – undo
569 569
     /**
570 570
      * Asserts that a variable is not equal to an attribute of an object.
571 571
      *
572
-     * @param mixed  $expected
572
+     * @param string  $expected
573 573
      * @param string $actualAttributeName
574 574
      * @param string $actualClassOrObject
575 575
      * @param string $message
@@ -609,7 +609,7 @@  discard block
 block discarded – undo
609 609
      * is empty.
610 610
      *
611 611
      * @param string $haystackAttributeName
612
-     * @param mixed  $haystackClassOrObject
612
+     * @param stdClass  $haystackClassOrObject
613 613
      * @param string $message
614 614
      *
615 615
      * @since Method available since Release 3.5.0
@@ -640,7 +640,7 @@  discard block
 block discarded – undo
640 640
      * is not empty.
641 641
      *
642 642
      * @param string $haystackAttributeName
643
-     * @param mixed  $haystackClassOrObject
643
+     * @param stdClass  $haystackClassOrObject
644 644
      * @param string $message
645 645
      *
646 646
      * @since Method available since Release 3.5.0
@@ -670,7 +670,7 @@  discard block
 block discarded – undo
670 670
     /**
671 671
      * Asserts that an attribute is greater than another value.
672 672
      *
673
-     * @param mixed  $expected
673
+     * @param integer  $expected
674 674
      * @param string $actualAttributeName
675 675
      * @param string $actualClassOrObject
676 676
      * @param string $message
@@ -707,7 +707,7 @@  discard block
 block discarded – undo
707 707
     /**
708 708
      * Asserts that an attribute is greater than or equal to another value.
709 709
      *
710
-     * @param mixed  $expected
710
+     * @param integer  $expected
711 711
      * @param string $actualAttributeName
712 712
      * @param string $actualClassOrObject
713 713
      * @param string $message
@@ -740,7 +740,7 @@  discard block
 block discarded – undo
740 740
     /**
741 741
      * Asserts that an attribute is smaller than another value.
742 742
      *
743
-     * @param mixed  $expected
743
+     * @param integer  $expected
744 744
      * @param string $actualAttributeName
745 745
      * @param string $actualClassOrObject
746 746
      * @param string $message
@@ -773,7 +773,7 @@  discard block
 block discarded – undo
773 773
     /**
774 774
      * Asserts that an attribute is smaller than or equal to another value.
775 775
      *
776
-     * @param mixed  $expected
776
+     * @param integer  $expected
777 777
      * @param string $actualAttributeName
778 778
      * @param string $actualClassOrObject
779 779
      * @param string $message
@@ -994,7 +994,7 @@  discard block
 block discarded – undo
994 994
     /**
995 995
      * Asserts that a variable is not null.
996 996
      *
997
-     * @param mixed  $actual
997
+     * @param stdClass|null  $actual
998 998
      * @param string $message
999 999
      */
1000 1000
     public static function assertNotNull($actual, $message = '')
@@ -1221,9 +1221,9 @@  discard block
 block discarded – undo
1221 1221
      * Asserts that a variable and an attribute of an object have the same type
1222 1222
      * and value.
1223 1223
      *
1224
-     * @param mixed  $expected
1224
+     * @param string  $expected
1225 1225
      * @param string $actualAttributeName
1226
-     * @param object $actualClassOrObject
1226
+     * @param ClassWithNonPublicAttributes $actualClassOrObject
1227 1227
      * @param string $message
1228 1228
      */
1229 1229
     public static function assertAttributeSame($expected, $actualAttributeName, $actualClassOrObject, $message = '')
@@ -1261,9 +1261,9 @@  discard block
 block discarded – undo
1261 1261
      * Asserts that a variable and an attribute of an object do not have the
1262 1262
      * same type and value.
1263 1263
      *
1264
-     * @param mixed  $expected
1264
+     * @param string  $expected
1265 1265
      * @param string $actualAttributeName
1266
-     * @param object $actualClassOrObject
1266
+     * @param ClassWithNonPublicAttributes $actualClassOrObject
1267 1267
      * @param string $message
1268 1268
      */
1269 1269
     public static function assertAttributeNotSame($expected, $actualAttributeName, $actualClassOrObject, $message = '')
@@ -1343,7 +1343,7 @@  discard block
 block discarded – undo
1343 1343
      *
1344 1344
      * @param string $expected
1345 1345
      * @param string $attributeName
1346
-     * @param mixed  $classOrObject
1346
+     * @param stdClass  $classOrObject
1347 1347
      * @param string $message
1348 1348
      *
1349 1349
      * @since Method available since Release 3.5.0
@@ -1384,7 +1384,7 @@  discard block
 block discarded – undo
1384 1384
      *
1385 1385
      * @param string $expected
1386 1386
      * @param string $attributeName
1387
-     * @param mixed  $classOrObject
1387
+     * @param stdClass  $classOrObject
1388 1388
      * @param string $message
1389 1389
      *
1390 1390
      * @since Method available since Release 3.5.0
@@ -1425,7 +1425,7 @@  discard block
 block discarded – undo
1425 1425
      *
1426 1426
      * @param string $expected
1427 1427
      * @param string $attributeName
1428
-     * @param mixed  $classOrObject
1428
+     * @param stdClass  $classOrObject
1429 1429
      * @param string $message
1430 1430
      *
1431 1431
      * @since Method available since Release 3.5.0
@@ -2571,7 +2571,7 @@  discard block
 block discarded – undo
2571 2571
      * Returns a PHPUnit_Framework_Constraint_TraversableContains matcher
2572 2572
      * object.
2573 2573
      *
2574
-     * @param mixed $value
2574
+     * @param string $value
2575 2575
      * @param bool  $checkForObjectIdentity
2576 2576
      * @param bool  $checkForNonObjectIdentity
2577 2577
      *
@@ -2892,7 +2892,7 @@  discard block
 block discarded – undo
2892 2892
     /**
2893 2893
      * Returns a PHPUnit_Framework_Constraint_StringStartsWith matcher object.
2894 2894
      *
2895
-     * @param mixed $prefix
2895
+     * @param string $prefix
2896 2896
      *
2897 2897
      * @return PHPUnit_Framework_Constraint_StringStartsWith
2898 2898
      *
@@ -2921,7 +2921,7 @@  discard block
 block discarded – undo
2921 2921
     /**
2922 2922
      * Returns a PHPUnit_Framework_Constraint_StringEndsWith matcher object.
2923 2923
      *
2924
-     * @param mixed $suffix
2924
+     * @param string $suffix
2925 2925
      *
2926 2926
      * @return PHPUnit_Framework_Constraint_StringEndsWith
2927 2927
      *
Please login to merge, or discard this patch.