Completed
Pull Request — master (#849)
by Martin
03:21
created
core/web/Element.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -160,11 +160,11 @@  discard block
 block discarded – undo
160 160
      */
161 161
     public function getElement($name, array $params = [])
162 162
     {
163
-    	if (!array_key_exists($name, $this->_elements)) {
164
-    		throw new Exception("The requested element '$name' does not exist in the list. You may register the element first with `addElement(name, closure)`.");
165
-    	}
163
+        if (!array_key_exists($name, $this->_elements)) {
164
+            throw new Exception("The requested element '$name' does not exist in the list. You may register the element first with `addElement(name, closure)`.");
165
+        }
166 166
     
167
-    	return call_user_func_array($this->_elements[$name], $params);
167
+        return call_user_func_array($this->_elements[$name], $params);
168 168
     }
169 169
 
170 170
     /**
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
      */
181 181
     public function run($name, array $params = [])
182 182
     {
183
-    	trigger_error('method `run()` is deprectaed, use `getElement` instead.', E_NOTICE);
183
+        trigger_error('method `run()` is deprectaed, use `getElement` instead.', E_NOTICE);
184 184
         return $this->getElement($name, $params);
185 185
     }
186 186
 
Please login to merge, or discard this patch.
core/helpers/ObjectHelper.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@
 block discarded – undo
14 14
 {
15 15
     /**
16 16
      * Convert Object to Array
17
-	 * 
18
-	 * @since 1.0.0-beta7
17
+     * 
18
+     * @since 1.0.0-beta7
19 19
      * @param object $object
20 20
      */
21 21
     public static function toArray($object)
Please login to merge, or discard this patch.