Completed
Push — 2.0 ( 2c7009...c833bc )
by Marco
03:23
created
src/Comodojo/Extender/Components/ArrayAccess.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -29,45 +29,45 @@
 block discarded – undo
29 29
      *
30 30
      * @return string $index The offset
31 31
      */
32
-     public function offsetGet($index) {
32
+        public function offsetGet($index) {
33 33
 
34
-         return $this->data[$index];
34
+            return $this->data[$index];
35 35
 
36
-     }
36
+        }
37 37
 
38
-     /**
39
-     * Assigns a value to index offset
40
-     *
41
-     * @param string $index The offset to assign the value to
42
-     * @param mixed  $value The value to set
43
-     */
44
-     public function offsetSet($index, $value) {
38
+        /**
39
+         * Assigns a value to index offset
40
+         *
41
+         * @param string $index The offset to assign the value to
42
+         * @param mixed  $value The value to set
43
+         */
44
+        public function offsetSet($index, $value) {
45 45
 
46
-         $this->data[$index] = $value;
46
+            $this->data[$index] = $value;
47 47
 
48
-     }
48
+        }
49 49
 
50
-     /**
51
-     * Unsets an index
52
-     *
53
-     * @param string $index The offset to unset
54
-     */
55
-     public function offsetUnset($index) {
50
+        /**
51
+         * Unsets an index
52
+         *
53
+         * @param string $index The offset to unset
54
+         */
55
+        public function offsetUnset($index) {
56 56
 
57
-         unset($this->data[$index]);
57
+            unset($this->data[$index]);
58 58
 
59
-     }
59
+        }
60 60
 
61
-     /**
62
-     * Check if an index exists
63
-     *
64
-     * @param string $index Offset
65
-     * @return boolean
66
-     */
67
-     public function offsetExists($index) {
61
+        /**
62
+         * Check if an index exists
63
+         *
64
+         * @param string $index Offset
65
+         * @return boolean
66
+         */
67
+        public function offsetExists($index) {
68 68
 
69
-         return $this->offsetGet($index) !== null;
69
+            return $this->offsetGet($index) !== null;
70 70
 
71
-     }
71
+        }
72 72
 
73 73
 }
Please login to merge, or discard this patch.