Make sure that strict_types declaration is always at the very top of the file.

This commit is contained in:
James Cole 2018-03-19 12:08:50 +01:00
parent 6419d68626
commit d8c0091680
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
10 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* BillController.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Api\V1\Controllers;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* Controller.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Api\V1\Controllers;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* TransactionController.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Api\V1\Controllers;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* UserController.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Api\V1\Controllers;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* AccountRequest.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Api\V1\Requests;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* BillRequest.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Api\V1\Requests;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* Request.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Api\V1\Requests;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* TransactionRequest.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Api\V1\Requests;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* UserRequest.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
@ -19,7 +20,6 @@
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Api\V1\Requests;

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* User.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
@ -18,7 +19,6 @@
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII;