Completed
Pull Request — master (#3)
by Cristiano
01:50
created
src/AbstractList.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -125,26 +125,26 @@
 block discarded – undo
125 125
 		return $index;
126 126
 	}
127 127
 
128
-    /**
129
-     * Returns the element at the given index (or nothing if the index isn't present)
130
-     *
131
-     * @param int $index
132
-     * @return mixed
133
-     */
134
-    public function get($index) {
135
-        if (isset($this->collection[$index])) {
136
-            return $this->collection[$index];
137
-        }
138
-    }
128
+	/**
129
+	 * Returns the element at the given index (or nothing if the index isn't present)
130
+	 *
131
+	 * @param int $index
132
+	 * @return mixed
133
+	 */
134
+	public function get($index) {
135
+		if (isset($this->collection[$index])) {
136
+			return $this->collection[$index];
137
+		}
138
+	}
139 139
 
140
-    /**
141
-     * Returns the index of the given element or FALSE if the element can't be found
142
-     *
143
-     * @param mixed $element
144
-     * @return int the index for the given element
145
-     */
146
-    public function indexOf($element) {
147
-        return array_search($element, $this->collection, true);
148
-    }
140
+	/**
141
+	 * Returns the index of the given element or FALSE if the element can't be found
142
+	 *
143
+	 * @param mixed $element
144
+	 * @return int the index for the given element
145
+	 */
146
+	public function indexOf($element) {
147
+		return array_search($element, $this->collection, true);
148
+	}
149 149
 
150 150
 }
Please login to merge, or discard this patch.