@@ -25,6 +25,6 @@ |
||
| 25 | 25 | protected function schedule(Schedule $schedule) |
| 26 | 26 | { |
| 27 | 27 | $schedule->command('inspire') |
| 28 | - ->hourly(); |
|
| 28 | + ->hourly(); |
|
| 29 | 29 | } |
| 30 | 30 | } |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: mark |
|
| 5 | - * Date: 01/12/15 |
|
| 6 | - * Time: 21:54 |
|
| 7 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: mark |
|
| 5 | + * Date: 01/12/15 |
|
| 6 | + * Time: 21:54 |
|
| 7 | + */ |
|
| 8 | 8 | |
| 9 | 9 | abstract class Transformer { |
| 10 | 10 | |
@@ -6,9 +6,9 @@ |
||
| 6 | 6 | * Time: 21:55 |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -class TaskTransformer extends Transformer{ |
|
| 9 | +class TaskTransformer extends Transformer { |
|
| 10 | 10 | |
| 11 | - public function transform($task){ |
|
| 11 | + public function transform($task) { |
|
| 12 | 12 | return [ |
| 13 | 13 | 'id' => $task['id'], |
| 14 | 14 | 'name' => $task['name'], |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | public function map(Router $router) |
| 39 | 39 | { |
| 40 | - $router->group(['namespace' => $this->namespace], function ($router) { |
|
| 40 | + $router->group(['namespace' => $this->namespace], function($router) { |
|
| 41 | 41 | require app_path('Http/routes.php'); |
| 42 | 42 | }); |
| 43 | 43 | } |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: adam |
|
| 5 | - * Date: 23/12/15 |
|
| 6 | - * Time: 16:27 |
|
| 7 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: adam |
|
| 5 | + * Date: 23/12/15 |
|
| 6 | + * Time: 16:27 |
|
| 7 | + */ |
|
| 8 | 8 | |
| 9 | 9 | namespace App\Http\Controllers; |
| 10 | 10 | |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | | |
| 12 | 12 | */ |
| 13 | 13 | |
| 14 | -Route::get('/', function () { |
|
| 14 | +Route::get('/', function() { |
|
| 15 | 15 | return view('welcome'); |
| 16 | 16 | }); |
| 17 | 17 | |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: adam |
|
| 5 | - * Date: 11/01/16 |
|
| 6 | - * Time: 18:27 |
|
| 7 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: adam |
|
| 5 | + * Date: 11/01/16 |
|
| 6 | + * Time: 18:27 |
|
| 7 | + */ |
|
| 8 | 8 | |
| 9 | 9 | namespace App\Mdk\Transformers; |
| 10 | 10 | |