Completed
Push — master ( ab5a7e...8890b1 )
by Adam
02:47
created
src/Access/Curl.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
     /**
52 52
      * @param $option
53
-     * @param bool|true $value
53
+     * @param integer $value
54 54
      * @return $this
55 55
      */
56 56
     public function setOption($option, $value = true)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php namespace BestServedCold\PhalueObjects\Access;
2 2
 
3
-use BestServedCold\PhalueObjects\Utility\Native\Constant;
3
+use BestServedCold\PhalueObjects\Utility\Native\Constant;
4 4
 use BestServedCold\PhalueObjects\ValueObject;
5 5
 
6 6
 final class Curl extends ValueObject
Please login to merge, or discard this patch.
src/File.php 2 patches
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php namespace BestServedCold\PhalueObjects;
2 2
 
3
-use BestServedCold\PhalueObjects\Format\Json;
4
-use BestServedCold\PhalueObjects\Format\Xml;
3
+use BestServedCold\PhalueObjects\Format\Json;
4
+use BestServedCold\PhalueObjects\Format\Xml;
5 5
 use BestServedCold\PhalueObjects\Format\Yaml;
6 6
 
7 7
 class File extends ValueObject
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -10,6 +10,9 @@
 block discarded – undo
10 10
     protected $timeout;
11 11
     protected $mustExist;
12 12
 
13
+    /**
14
+     * @param string $value
15
+     */
13 16
     public function __construct($value, $mustExist = true, $timeout = 10)
14 17
     {
15 18
         parent::__construct($value);
Please login to merge, or discard this patch.
src/File/Http.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php namespace BestServedCold\PhalueObjects\File;
2 2
 
3
+use BestServedCold\PhalueObjects\Access\Curl;
3 4
 use BestServedCold\PhalueObjects\File;
4
-use BestServedCold\PhalueObjects\Access\Curl;
5 5
 
6 6
 class Http extends File
7 7
 {
Please login to merge, or discard this patch.
src/Exception/InvalidRangeTypeException.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,9 +29,9 @@
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param string $value
32
-     * @param array $allowedTypes
33
-     * @param $minimum
34
-     * @param $maximum
32
+     * @param string[] $allowedTypes
33
+     * @param integer $minimum
34
+     * @param integer $maximum
35 35
      */
36 36
     public function __construct($value, $allowedTypes, $minimum, $maximum)
37 37
     {
Please login to merge, or discard this patch.
src/ValueObject.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace BestServedCold\PhalueObjects;
4 4
 
5
-use phpDocumentor\Compiler\Pass\PackageTreeBuilder;
6
-
7 5
 /**
8 6
  * Class ValueObject
9 7
  *
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
 
134 134
     /**
135 135
      * @param  ValueObject $object
136
-     * @return array|mixed
136
+     * @return ValueObject
137 137
      */
138 138
     public function diff(ValueObject $object)
139 139
     {
Please login to merge, or discard this patch.
src/ExtendedArray/ExtendedArrayTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * @param  array $array
45
-     * @return array
45
+     * @return string
46 46
      */
47 47
     public function arrayToAttributeArray(array $array)
48 48
     {
Please login to merge, or discard this patch.