phpcs fixes

This commit is contained in:
Dennis Eichhorn 2019-10-06 17:50:12 +02:00
parent 85164673e9
commit ec7db03b39
6 changed files with 15 additions and 7 deletions

View File

@ -79,7 +79,7 @@ class Arrival
* @var \Modules\Warehousing\Models\ArrivalStatus * @var \Modules\Warehousing\Models\ArrivalStatus
* @since 1.0.0 * @since 1.0.0
*/ */
private $status = null; private int $status = null;
/* TODO: count, packaging, product count etc.... for every single position + where do you put it */ /* TODO: count, packaging, product count etc.... for every single position + where do you put it */

View File

@ -1,4 +1,4 @@
<?php declare(strict_types=1); <?php
/** /**
* Orange Management * Orange Management
* *
@ -9,7 +9,9 @@
* @license OMS License 1.0 * @license OMS License 1.0
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ /* TODO: maybe make this a framework object? and let warehousing, sales, purchase extend this */ */
declare(strict_types=1);
/* TODO: maybe make this a framework object? and let warehousing, sales, purchase extend this */
namespace Modules\WarehouseManagement\Models; namespace Modules\WarehouseManagement\Models;
/** /**

View File

@ -79,7 +79,7 @@ class Shipping
* @var \Modules\Warehousing\Models\ArrivalStatus * @var \Modules\Warehousing\Models\ArrivalStatus
* @since 1.0.0 * @since 1.0.0
*/ */
private $status = null; private int $status = null;
/** /**
* Shipping. * Shipping.

View File

@ -1,4 +1,4 @@
<?php declare(strict_types=1); <?php
/** /**
* Orange Management * Orange Management
* *
@ -10,6 +10,8 @@
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1);
return ['Navigation' => [ return ['Navigation' => [
'Arrival' => 'Arrival', 'Arrival' => 'Arrival',
'Articles' => 'Articles', 'Articles' => 'Articles',

View File

@ -1,4 +1,4 @@
<?php declare(strict_types=1); <?php
/** /**
* Orange Management * Orange Management
* *
@ -10,5 +10,7 @@
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1);
$MODLANG[1] = [ $MODLANG[1] = [
]; ];

View File

@ -1,4 +1,4 @@
<?php declare(strict_types=1); <?php
/** /**
* Orange Management * Orange Management
* *
@ -10,6 +10,8 @@
* @version 1.0.0 * @version 1.0.0
* @link https://orange-management.org * @link https://orange-management.org
*/ */
declare(strict_types=1);
return ['WarehouseManagement' => [ return ['WarehouseManagement' => [
'All' => 'All', 'All' => 'All',
'Amount' => 'Amount', 'Amount' => 'Amount',