@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('orders', function (Blueprint $table) { |
|
16 | + Schema::create('orders', function(Blueprint $table) { |
|
17 | 17 | $table->integer('id', true); |
18 | 18 | |
19 | 19 | $table->integer('employee_id')->nullable()->index('employee_id_2'); |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | public function map(Router $router) |
37 | 37 | { |
38 | - $router->group(['namespace' => $this->namespace], function ($router) { |
|
38 | + $router->group(['namespace' => $this->namespace], function($router) { |
|
39 | 39 | require app_path('Http/routes.php'); |
40 | 40 | }); |
41 | 41 | } |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Author: Nil Portugués Calderó <[email protected]> |
|
4 | - * Date: 11/14/15 |
|
5 | - * Time: 12:24 AM. |
|
6 | - * |
|
7 | - * For the full copyright and license information, please view the LICENSE |
|
8 | - * file that was distributed with this source code. |
|
9 | - */ |
|
3 | + * Author: Nil Portugués Calderó <[email protected]> |
|
4 | + * Date: 11/14/15 |
|
5 | + * Time: 12:24 AM. |
|
6 | + * |
|
7 | + * For the full copyright and license information, please view the LICENSE |
|
8 | + * file that was distributed with this source code. |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace NilPortugues\Tests\App\Transformers; |
12 | 12 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Author: Nil Portugués Calderó <[email protected]> |
|
4 | - * Date: 12/9/15 |
|
5 | - * Time: 3:05 PM. |
|
6 | - * |
|
7 | - * For the full copyright and license information, please view the LICENSE |
|
8 | - * file that was distributed with this source code. |
|
9 | - */ |
|
3 | + * Author: Nil Portugués Calderó <[email protected]> |
|
4 | + * Date: 12/9/15 |
|
5 | + * Time: 3:05 PM. |
|
6 | + * |
|
7 | + * For the full copyright and license information, please view the LICENSE |
|
8 | + * file that was distributed with this source code. |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace NilPortugues\Tests\Laravel5\JsonApi\Controller; |
12 | 12 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Author: Nil Portugués Calderó <[email protected]> |
|
4 | - * Date: 11/14/15 |
|
5 | - * Time: 12:24 AM. |
|
6 | - * |
|
7 | - * For the full copyright and license information, please view the LICENSE |
|
8 | - * file that was distributed with this source code. |
|
9 | - */ |
|
3 | + * Author: Nil Portugués Calderó <[email protected]> |
|
4 | + * Date: 11/14/15 |
|
5 | + * Time: 12:24 AM. |
|
6 | + * |
|
7 | + * For the full copyright and license information, please view the LICENSE |
|
8 | + * file that was distributed with this source code. |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace NilPortugues\Tests\App\Transformers; |
12 | 12 |
@@ -11,7 +11,7 @@ |
||
11 | 11 | | |
12 | 12 | */ |
13 | 13 | |
14 | -Route::group(['prefix' => 'api/v1/'], function () { |
|
14 | +Route::group(['prefix' => 'api/v1/'], function() { |
|
15 | 15 | Route::post('employees', ['as' => 'employees.post', 'uses' => 'EmployeesController@postAction']); |
16 | 16 | Route::get('employees', ['as' => 'employees.list', 'uses' => 'EmployeesController@listAction']); |
17 | 17 | Route::get('employees/{id}', ['as' => 'employees.get', 'uses' => 'EmployeesController@getAction']); |