Completed
Push — master ( 446f2e...32b2c3 )
by Nelson
11:26
created
src/Type.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,6 +177,9 @@  discard block
 block discarded – undo
177 177
             return $this->methods;
178 178
         }
179 179
 
180
+        /**
181
+         * @param string $name
182
+         */
180 183
         public function hasMethod($name)
181 184
         {
182 185
             if ($this->reflectionObject !== null) {
@@ -189,7 +192,6 @@  discard block
 block discarded – undo
189 192
         /**
190 193
          * Determines if instances of this Type can be converted to string.
191 194
          *
192
-         * @param mixed $obj Object.
193 195
          *
194 196
          * @return bool
195 197
          */
Please login to merge, or discard this patch.
src/IntString.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     class IntString extends Object implements IEquatable, IComparable
33 33
     {
34 34
         /**
35
-         * @param integer|null $intValue    Integer part. Default: ``0`` (zero).
35
+         * @param integer $intValue    Integer part. Default: ``0`` (zero).
36 36
          * @param string|null  $stringValue String part. Default: ``''`` (empty).
37 37
          */
38 38
         public function __construct($intValue = 0, $stringValue = '')
Please login to merge, or discard this patch.
src/IStrictPropertiesContainer.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -43,6 +43,7 @@
 block discarded – undo
43 43
          *
44 44
          * @param string $name  Property name.
45 45
          * @param mixed  $value Property value.
46
+         * @return void
46 47
          */
47 48
         public function __set($name, $value);
48 49
     }
Please login to merge, or discard this patch.
tests/DataProviders/ExampleClass/C.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 
20 20
 namespace NelsonMartell\Test\DataProviders\ExampleClass;
21 21
 
22
-use NelsonMartell\PropertiesHandler;
23 22
 use NelsonMartell\ICustomPrefixedPropertiesContainer;
24 23
 
25 24
 class C extends B implements ICustomPrefixedPropertiesContainer
Please login to merge, or discard this patch.
tests/DataProviders/ObjectTestProvider.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
 namespace NelsonMartell\Test\DataProviders;
21 21
 
22 22
 use NelsonMartell\Object;
23
-use NelsonMartell\Test\Helpers\ExporterPlugin;
24 23
 use NelsonMartell\Test\Helpers\ConstructorMethodTester;
24
+use NelsonMartell\Test\Helpers\ExporterPlugin;
25 25
 use NelsonMartell\Test\Helpers\IComparerTester;
26 26
 
27 27
 /**
Please login to merge, or discard this patch.
tests/Helpers/ExporterPlugin.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 
20 20
 namespace NelsonMartell\Test\Helpers;
21 21
 
22
-use NelsonMartell as NML;
23 22
 use NelsonMartell\Extensions\String;
24 23
 use SebastianBergmann\Exporter\Exporter;
25 24
 use \InvalidArgumentException;
Please login to merge, or discard this patch.
tests/TestCase/Extensions/StringTest.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 
21 21
 use NelsonMartell as NML;
22 22
 use NelsonMartell\Extensions\String;
23
-use NelsonMartell\Type;
24 23
 use \PHPUnit_Framework_TestCase as TestCase;
25 24
 use \InvalidArgumentException;
26 25
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
             $format .= "{{$i}}, ";
89 89
         }
90 90
         $format .= '{8} y {9}.';
91
-        $actual   = String::format($format, range(1, 10));
91
+        $actual = String::format($format, range(1, 10));
92 92
         $this->assertEquals($expected, $actual);
93 93
     }
94 94
 
Please login to merge, or discard this patch.
tests/TestCase/PropertiesHandlerTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -19,9 +19,6 @@
 block discarded – undo
19 19
 
20 20
 namespace NelsonMartell\Test\TestCase;
21 21
 
22
-use NelsonMartell as NML;
23
-use NelsonMartell\Type;
24
-use NelsonMartell\Extensions\String;
25 22
 use NelsonMartell\Test\DataProviders\PropertiesHandlerTestProvider;
26 23
 use \PHPUnit_Framework_TestCase as TestCase;
27 24
 use \InvalidArgumentException;
Please login to merge, or discard this patch.
tests/TestCase/TypeTest.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,10 +19,9 @@
 block discarded – undo
19 19
 
20 20
 namespace NelsonMartell\Test\TestCase;
21 21
 
22
-use NelsonMartell as NML;
23
-use NelsonMartell\Type;
24 22
 use NelsonMartell\Extensions\String;
25 23
 use NelsonMartell\Test\DataProviders\TypeTestProvider;
24
+use NelsonMartell\Type;
26 25
 use \PHPUnit_Framework_TestCase as TestCase;
27 26
 use SebastianBergmann\Exporter\Exporter;
28 27
 use \InvalidArgumentException;
Please login to merge, or discard this patch.