Completed
Push — master ( ddcf44...4b16c6 )
by Paweł
02:09
created
src/Helpers/Url.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     {
23 23
         $encodedUrl = preg_replace_callback(
24 24
             '%[^:/@?&=#]+%usD',
25
-            function ($matches) {
25
+            function($matches) {
26 26
                 return rawurlencode($matches[0]);
27 27
             },
28 28
             $url
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         if (!empty($url['query'])) {
66 66
             parse_str($url['query'], $query);
67 67
 
68
-            array_walk($query, function (&$val, &$var) {
68
+            array_walk($query, function(&$val, &$var) {
69 69
                 $var = rawurlencode($var);
70 70
                 $val = rawurlencode($val);
71 71
             });
Please login to merge, or discard this patch.
src/Items/DataTypes/AbstractDataType.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -98,6 +98,9 @@
 block discarded – undo
98 98
         return $this;
99 99
     }
100 100
 
101
+    /**
102
+     * @param string $name
103
+     */
101 104
     public function getAttribute($name)
102 105
     {
103 106
         return isset($this->attributes[$name]) ? $this->attributes[$name] : null;
Please login to merge, or discard this patch.
src/Items/DataTypes/ArrayType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * ArrayType constructor.
28 28
      *
29
-     * @param $name
29
+     * @param string $name
30 30
      * @param $dataType
31 31
      */
32 32
     public function __construct($name, $dataType)
Please login to merge, or discard this patch.
src/Items/DataTypes/StringType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-     * @return array|null
82
+     * @return string[]
83 83
      */
84 84
     public function getAllowedValues(): ?array
85 85
     {
Please login to merge, or discard this patch.