Completed
Push — master ( 50437b...6d2b5a )
by Adam
02:31
created
src/VOArray/Metric.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,10 +38,10 @@
 block discarded – undo
38 38
     public function getDepth()
39 39
     {
40 40
         $max = 0;
41
-        $depth = function (&$max) {
41
+        $depth = function(&$max) {
42 42
             return function($line) use (&$max) {
43 43
                 // every line-indent equals 4 spaces
44
-                $max = max([$max, (strlen($line) - strlen(ltrim($line))) / 4]);
44
+                $max = max([ $max, (strlen($line) - strlen(ltrim($line))) / 4 ]);
45 45
             };
46 46
         };
47 47
 
Please login to merge, or discard this patch.
src/VOString/Word.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
     {
23 23
         parent::__construct($value);
24 24
 
25
-        if (! preg_match('/[A-za-z]/', $this->getValue())) {
26
-            throw new InvalidTypeException($value, ['word']);
25
+        if (!preg_match('/[A-za-z]/', $this->getValue())) {
26
+            throw new InvalidTypeException($value, [ 'word' ]);
27 27
         }
28 28
     }
29 29
 
Please login to merge, or discard this patch.
src/VOObject.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@
 block discarded – undo
62 62
      */
63 63
     public function count()
64 64
     {
65
-        if (! method_exists($this->getValue(), 'count')) {
66
-            throw new \Exception('[' . $this->getShortName() . '] does not have a count method.');
65
+        if (!method_exists($this->getValue(), 'count')) {
66
+            throw new \Exception('['.$this->getShortName().'] does not have a count method.');
67 67
         }
68 68
 
69 69
         return $this->getValue()->count();
Please login to merge, or discard this patch.