Completed
Push — master ( 76e6f8...100486 )
by Basil
07:11
created
modules/admin/src/base/Controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
                 'allow' => true,
43 43
                 'actions' => [], // apply to all actions by default
44 44
                 'roles' => ['@'],
45
-                'matchCallback' => function ($rule, $action) {
45
+                'matchCallback' => function($rule, $action) {
46 46
                     // see if a controller property has been defined to disabled the permission checks
47 47
                     if ($action->controller->disablePermissionCheck) {
48 48
                         return true;
Please login to merge, or discard this patch.
modules/admin/src/storage/QueryTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     {
89 89
         $data = array_filter($this->getDataProvider(), [$this, 'whereFilter']);
90 90
         
91
-        return (count($data) !== 0) ? $this->createItem(array_values($data)[0]): false;
91
+        return (count($data) !== 0) ? $this->createItem(array_values($data)[0]) : false;
92 92
     }
93 93
     
94 94
     /**
Please login to merge, or discard this patch.
modules/admin/src/storage/IteratorAbstract.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      * Callculate to number of items when using count() function against the QueryIterator object.
24 24
      *
25 25
      * @return int The number of elements in the object.
26
-    */
26
+     */
27 27
     public function count()
28 28
     {
29 29
         return count($this->data);
Please login to merge, or discard this patch.
modules/admin/tests/ngrest/base/PluginTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 class PluginTest extends \tests\web\Base
8 8
 {
9 9
     public $constructors = [
10
-        'CheckboxRelation' => ['\\tests\\data\\models\\UserModel', 'a', 'b', 'c', [1,2,3], 'de'],
10
+        'CheckboxRelation' => ['\\tests\\data\\models\\UserModel', 'a', 'b', 'c', [1, 2, 3], 'de'],
11 11
         'SelectArray' => [['foo' => 'bar', 'baz' => 'foo'], 'baz'],
12 12
         'SelectClass' => ['\\tests\\data\\models\\UserModel', 'id', 'firstname'],
13 13
         'CheckboxList' => [['foo' => 'Foo', 'bar' => 'Bar']],
Please login to merge, or discard this patch.