Skip to content

Commit acdf46e

Browse files
author
Anton Shevchuk
committed
Updated codestyle
1 parent 6ab8435 commit acdf46e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+63
-5
lines changed

application/models/Test/ArrayGrid.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* @copyright Bluz PHP Team
45
* @link https://github.com/bluzphp/skeleton
@@ -24,7 +25,7 @@ class ArrayGrid extends Grid
2425
/**
2526
* {@inheritdoc}
2627
*/
27-
public function init() : void
28+
public function init(): void
2829
{
2930
// Source of grid
3031
$adapter = new ArraySource();

application/models/Test/Crud.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* @copyright Bluz PHP Team
45
* @link https://github.com/bluzphp/skeleton

application/models/Test/Row.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* @copyright Bluz PHP Team
45
* @link https://github.com/bluzphp/skeleton
@@ -35,7 +36,7 @@ class Row extends \Bluz\Db\Row
3536
*
3637
* @return void
3738
*/
38-
protected function beforeSave() : void
39+
protected function beforeSave(): void
3940
{
4041
// name validator
4142
$this->addValidator('name')

application/models/Test/SelectGrid.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* @copyright Bluz PHP Team
45
* @link https://github.com/bluzphp/skeleton
@@ -25,7 +26,7 @@ class SelectGrid extends Grid
2526
/**
2627
* {@inheritdoc}
2728
*/
28-
public function init() : void
29+
public function init(): void
2930
{
3031
// Source of grid
3132
$adapter = new SelectSource();

application/models/Test/SqlGrid.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* @copyright Bluz PHP Team
45
* @link https://github.com/bluzphp/skeleton
@@ -24,7 +25,7 @@ class SqlGrid extends Grid
2425
/**
2526
* {@inheritdoc}
2627
*/
27-
public function init() : void
28+
public function init(): void
2829
{
2930
// Source of grid
3031
$adapter = new SqlSource();

application/models/Test/Table.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* @copyright Bluz PHP Team
45
* @link https://github.com/bluzphp/skeleton

application/models/Test/TableGrid.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* @copyright Bluz PHP Team
45
* @link https://github.com/bluzphp/skeleton
@@ -24,7 +25,7 @@ class TableGrid extends Grid
2425
/**
2526
* {@inheritdoc}
2627
*/
27-
public function init() : void
28+
public function init(): void
2829
{
2930
// Source of grid
3031
$adapter = new SelectSource();

application/modules/test/api.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Annotations for swagger
45
*

application/modules/test/controllers/ajax-form.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Example of ajax form
45
*

application/modules/test/controllers/ajax-html.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Test AJAX
45
*

0 commit comments

Comments
 (0)