Completed
Branch master (616821)
by Anton
03:31
created
Category
src/modules/test/controllers/route-with-other-params.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
  * @param string $alias
18 18
  * @return false
19 19
  */
20
-return function ($alias) {
20
+return function($alias) {
21 21
     /**
22 22
      * @var Controller $this
23 23
      */
Please login to merge, or discard this patch.
src/modules/test/controllers/session.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
 /**
17 17
  * @return array
18 18
  */
19
-return function () {
19
+return function() {
20 20
     /**
21 21
      * @var Controller $this
22 22
      */
23 23
     Layout::breadCrumbs(
24 24
         [
25
-            Layout::ahref('Test', ['test', 'index']),
25
+            Layout::ahref('Test', [ 'test', 'index' ]),
26 26
             'Session',
27 27
         ]
28 28
     );
Please login to merge, or discard this patch.
src/modules/test/controllers/crud.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
  * @accept HTML
23 23
  * @accept JSON
24 24
  */
25
-return function () {
25
+return function() {
26 26
     /**
27 27
      * @var Controller $this
28 28
      */
Please login to merge, or discard this patch.
src/modules/test/controllers/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@
 block discarded – undo
15 15
 /**
16 16
  * @return \closure
17 17
  */
18
-return function () {
18
+return function() {
19 19
     /**
20 20
      * @var Controller $this
21 21
      */
22 22
     Layout::title('Test Module');
23 23
     Layout::title('Append', Layout::POS_APPEND);
24 24
     Layout::title('Prepend', Layout::POS_PREPEND);
25
-    Layout::breadCrumbs(['Test']);
25
+    Layout::breadCrumbs([ 'Test' ]);
26 26
 };
Please login to merge, or discard this patch.
src/modules/test/controllers/widgets/lorem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 /**
17 17
  * @return void
18 18
  */
19
-return function () {
19
+return function() {
20 20
     echo <<<LOREM
21 21
 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus rutrum,
22 22
 lectus eu varius consectetur, libero velit hendrerit augue, ut posuere enim neque
Please login to merge, or discard this patch.
src/modules/test/controllers/backbone.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,13 +15,13 @@
 block discarded – undo
15 15
 /**
16 16
  * @return void
17 17
  */
18
-return function () {
18
+return function() {
19 19
     /**
20 20
      * @var Controller $this
21 21
      */
22 22
     Layout::breadCrumbs(
23 23
         [
24
-            Layout::ahref('Test', ['test', 'index']),
24
+            Layout::ahref('Test', [ 'test', 'index' ]),
25 25
             'Backbone',
26 26
         ]
27 27
     );
Please login to merge, or discard this patch.
src/modules/test/controllers/rest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
  * @return mixed
26 26
  * @throws ForbiddenException
27 27
  */
28
-return function () {
28
+return function() {
29 29
     /**
30 30
      * @var Controller $this
31 31
      */
Please login to merge, or discard this patch.
src/modules/test/controllers/dispatch.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,13 +15,13 @@
 block discarded – undo
15 15
 /**
16 16
  * @return void
17 17
  */
18
-return function () {
18
+return function() {
19 19
     /**
20 20
      * @var Controller $this
21 21
      */
22 22
     Layout::breadCrumbs(
23 23
         [
24
-            Layout::ahref('Test', ['test', 'index']),
24
+            Layout::ahref('Test', [ 'test', 'index' ]),
25 25
             'Dispatch',
26 26
         ]
27 27
     );
Please login to merge, or discard this patch.
src/modules/test/controllers/view-partial.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -15,19 +15,19 @@
 block discarded – undo
15 15
 /**
16 16
  * @return array
17 17
  */
18
-return function () {
18
+return function() {
19 19
     /**
20 20
      * @var Controller $this
21 21
      */
22 22
     Layout::breadCrumbs(
23 23
         [
24
-            Layout::ahref('Test', ['test', 'index']),
24
+            Layout::ahref('Test', [ 'test', 'index' ]),
25 25
             'View Partial Helpers',
26 26
         ]
27 27
     );
28
-    return ['data' => [
29
-        'first'=> array(2,3,4,5),
30
-        'second'=> array(9,8,7,6),
31
-        'third'=> array(1,3,5,7),
32
-    ]];
28
+    return [ 'data' => [
29
+        'first'=> array(2, 3, 4, 5),
30
+        'second'=> array(9, 8, 7, 6),
31
+        'third'=> array(1, 3, 5, 7),
32
+    ] ];
33 33
 };
Please login to merge, or discard this patch.