@@ -1,4 +1,4 @@ |
||
| 1 | 1 | <?php |
| 2 | -Route::group(['middleware' => 'auth'], function() { |
|
| 2 | +Route::group([ 'middleware' => 'auth' ], function() { |
|
| 3 | 3 | Route::resource('inventory', 'InventoryController'); |
| 4 | 4 | }); |
| 5 | 5 | \ No newline at end of file |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | class InventoryValidator extends LaravelValidator |
| 6 | 6 | { |
| 7 | 7 | protected $rules = [ |
| 8 | - ValidatorInterface::RULE_CREATE => [], |
|
| 9 | - ValidatorInterface::RULE_UPDATE => [], |
|
| 8 | + ValidatorInterface::RULE_CREATE => [ ], |
|
| 9 | + ValidatorInterface::RULE_UPDATE => [ ], |
|
| 10 | 10 | ]; |
| 11 | 11 | } |
| 12 | 12 | \ No newline at end of file |