Completed
Pull Request — master (#24)
by Adam
02:31
created
src/Contract/VOFloatable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 {
14 14
     /**
15 15
      * @param  VOFloat $voFloat
16
-     * @return mixed
16
+     * @return VOFloat\Mixin
17 17
      */
18 18
     public static function fromVOFloat(VOFloat $voFloat);
19 19
 
Please login to merge, or discard this patch.
src/File.php 1 patch
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\String\Json;
4
-use BestServedCold\PhalueObjects\Format\String\Xml;
3
+use BestServedCold\PhalueObjects\Format\String\Json;
4
+use BestServedCold\PhalueObjects\Format\String\Xml;
5 5
 use BestServedCold\PhalueObjects\Format\String\Yaml;
6 6
 
7 7
 /**
Please login to merge, or discard this patch.
src/Format/String/AbstractString.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace BestServedCold\PhalueObjects\Format\String;
4 4
 
5
-use BestServedCold\PhalueObjects\VOString;
6 5
 use BestServedCold\PhalueObjects\VOArray\Mixin;
6
+use BestServedCold\PhalueObjects\VOString;
7 7
 
8 8
 /**
9 9
  * Class AbstractString
Please login to merge, or discard this patch.
src/Format/String/Mixin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
     }
101 101
 
102 102
     /**
103
-     * @return static
103
+     * @return Json
104 104
      */
105 105
     public function toVOJson()
106 106
     {
Please login to merge, or discard this patch.
src/VOArray/Metric.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,10 +41,10 @@
 block discarded – undo
41 41
     public function getDepth()
42 42
     {
43 43
         $max = 0;
44
-        $depth = function (&$max) {
45
-            return function ($line) use (&$max) {
44
+        $depth = function(&$max) {
45
+            return function($line) use (&$max) {
46 46
                 // every line-indent equals 4 spaces
47
-                $max = max([$max, (strlen($line) - strlen(ltrim($line))) / 4]);
47
+                $max = max([ $max, (strlen($line) - strlen(ltrim($line))) / 4 ]);
48 48
             };
49 49
         };
50 50
 
Please login to merge, or discard this patch.
src/Format/String/Csv.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
      */
70 70
     private function iterateCallback($delimiter, $enclosure, $escape)
71 71
     {
72
-        return function ($row) use ($delimiter, $enclosure, $escape) {
72
+        return function($row) use ($delimiter, $enclosure, $escape) {
73 73
             return Csv::fromString($row)->toArray($delimiter, $enclosure, $escape);
74 74
         };
75 75
     }
Please login to merge, or discard this patch.