瀏覽代碼

add missing spaces

Mike Meier 12 年之前
父節點
當前提交
3d8818dd2c
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Admin/FieldDescriptionCollection.php

+ 2 - 1
Admin/FieldDescriptionCollection.php

@@ -117,9 +117,10 @@ class FieldDescriptionCollection implements \ArrayAccess, \Countable
      */
     public function reorder(array $keys)
     {
-        if($this->has('batch')){
+        if ($this->has('batch')) {
             array_unshift($keys, 'batch');
         }
+
         $this->elements = array_merge(array_flip($keys), $this->elements);
     }
 }