@@ -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 Acme\Transformers; |
| 10 | 10 | |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | return [ |
| 18 | 18 | 'name' => $task['name'], |
| 19 | 19 | 'some_bool' => (boolean) $task['done'], |
| 20 | - 'priority' => (int)$task['priority'], |
|
| 20 | + 'priority' => (int) $task['priority'], |
|
| 21 | 21 | |
| 22 | 22 | ]; |
| 23 | 23 | } |
@@ -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 | } |
@@ -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 | |
@@ -131,11 +131,11 @@ |
||
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | /** |
| 134 | - * @param $taskId |
|
| 135 | - * @return \Illuminate\Database\Eloquent\Collection|static[] |
|
| 136 | - */ |
|
| 134 | + * @param $taskId |
|
| 135 | + * @return \Illuminate\Database\Eloquent\Collection|static[] |
|
| 136 | + */ |
|
| 137 | 137 | public function getTags($taskId) |
| 138 | - { |
|
| 139 | - return $taskId ? Task::findOrFail($taskId)->tags : Tag::all(); |
|
| 140 | - } |
|
| 138 | + { |
|
| 139 | + return $taskId ? Task::findOrFail($taskId)->tags : Tag::all(); |
|
| 140 | + } |
|
| 141 | 141 | } |
| 142 | 142 | \ No newline at end of file |
@@ -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 | |