Completed
Push — master ( c64181...1843e0 )
by Adam
13:40
created
src/VOClosure/Value.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public static function toArrayWithPlural($pluralValue = false, $pluralKey = false)
21 21
     {
22 22
         return new static(
23
-            function ($value) use ($pluralValue, $pluralKey) {
23
+            function($value) use ($pluralValue, $pluralKey) {
24 24
                 return array_filter([
25 25
                     key($value),
26 26
                     reset($value),
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.
src/Format/Csv.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -84,11 +84,11 @@  discard block
 block discarded – undo
84 84
     }
85 85
 
86 86
     /**
87
-     * @param $handle
87
+     * @param resource $handle
88 88
      * @param array $array
89
-     * @param $delimiter
90
-     * @param $enclosure
91
-     * @param $escape
89
+     * @param string $delimiter
90
+     * @param string $enclosure
91
+     * @param string $escape
92 92
      */
93 93
     private static function hackWrite($handle, array $array, $delimiter, $enclosure, $escape)
94 94
     {
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     }
99 99
 
100 100
     /**
101
-     * @param  $handle
101
+     * @param  resource $handle
102 102
      * @param  string $contents
103 103
      * @return string
104 104
      */
Please login to merge, or discard this patch.
src/Format/StringMixin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     }
41 41
 
42 42
     /**
43
-     * @return string
43
+     * @return Xml
44 44
      */
45 45
     public function toXml()
46 46
     {
Please login to merge, or discard this patch.
src/Internet/Html/Element/Attribute.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@
 block discarded – undo
224 224
             $value,
225 225
             array_merge($this->globalAttributes, array_keys($this->allowedAttributes))
226 226
         )) {
227
-            throw new \InvalidArgumentException('[' . $value . '] is not a valid HTML Attribute');
227
+            throw new \InvalidArgumentException('['.$value.'] is not a valid HTML Attribute');
228 228
         }
229 229
 
230 230
         parent::__construct($value);
Please login to merge, or discard this patch.