@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | $this->elements = &$items; |
33 | 33 | } |
34 | 34 | |
35 | - /** |
|
35 | + /** |
|
36 | 36 | * Return all the stored items |
37 | 37 | * |
38 | 38 | * @return array |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | |
60 | - /* |
|
60 | + /* |
|
61 | 61 | * -------------------------------------------------------------- |
62 | 62 | * ArrayAccess interface |
63 | 63 | * -------------------------------------------------------------- |
@@ -127,12 +127,12 @@ discard block |
||
127 | 127 | return true; |
128 | 128 | } |
129 | 129 | |
130 | - /** |
|
131 | - * Set a given key / value pair or pairs |
|
132 | - * |
|
133 | - * @param array|int|string $keys |
|
134 | - * @param mixed $value |
|
135 | - */ |
|
130 | + /** |
|
131 | + * Set a given key / value pair or pairs |
|
132 | + * |
|
133 | + * @param array|int|string $keys |
|
134 | + * @param mixed $value |
|
135 | + */ |
|
136 | 136 | public function set($keys, $value = null) |
137 | 137 | { |
138 | 138 | if (is_array($keys)) { |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | $value = array_merge($items, $this->getArrayItems($value)); |
188 | 188 | $this->set($key, $value); |
189 | 189 | } |
190 | - $this->elements = array_merge($this->elements, $key->all()); |
|
190 | + $this->elements = array_merge($this->elements, $key->all()); |
|
191 | 191 | |
192 | 192 | } |
193 | 193 |
@@ -127,12 +127,12 @@ |
||
127 | 127 | if (!isset($offset)) { |
128 | 128 | $this->set($offset, $value); |
129 | 129 | } |
130 | - $this->set($offset, $value); |
|
130 | + $this->set($offset, $value); |
|
131 | 131 | } |
132 | 132 | |
133 | 133 | public function offsetUnset($offset) |
134 | 134 | { |
135 | - $this->remove($offset); |
|
135 | + $this->remove($offset); |
|
136 | 136 | } |
137 | 137 | |
138 | 138 | public function containsKey($key) |
@@ -28,8 +28,6 @@ |
||
28 | 28 | * |
29 | 29 | * *NOTE* When a view uses a layout, the output of the view is ignored, as |
30 | 30 | * as the view is expected to use capture() to send data to the layout. |
31 | - |
|
32 | - |
|
33 | 31 | * @property UserData propriedade gerada e usada para pegar dados do model |
34 | 32 | */ |
35 | 33 |
@@ -93,10 +93,10 @@ |
||
93 | 93 | } |
94 | 94 | |
95 | 95 | /** |
96 | - * example removeAccentsIstring( "Õ") output "O" |
|
97 | - * @param string $string |
|
98 | - * @return string |
|
99 | - */ |
|
96 | + * example removeAccentsIstring( "Õ") output "O" |
|
97 | + * @param string $string |
|
98 | + * @return string |
|
99 | + */ |
|
100 | 100 | public static function removeAccentsIstring($string) : string |
101 | 101 | { |
102 | 102 | return preg_replace(array("/(á|à|ã|â|ä)/", "/(Á|À|Ã|Â|Ä)/", "/(é|è|ê|ë)/", "/(É|È|Ê|Ë)/", "/(í|ì|î|ï)/", "/(Í|Ì|Î|Ï)/", "/(ó|ò|õ|ô|ö)/", "/(Ó|Ò|Õ|Ô|Ö)/", "/(ú|ù|û|ü)/", "/(Ú|Ù|Û|Ü)/", "/(ñ)/", "/(Ñ)/", "/(ç)/", "/(Ç)/"), explode(" ", "a A e E i I o O u U n N c C"), $string); |