@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | * |
24 | 24 | * @return void |
25 | 25 | */ |
26 | - protected function schedule(Schedule $schedule) |
|
26 | + protected function schedule (Schedule $schedule) |
|
27 | 27 | { |
28 | 28 | // $schedule->command('inspire') |
29 | 29 | // ->hourly(); |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * |
35 | 35 | * @return void |
36 | 36 | */ |
37 | - protected function commands() |
|
37 | + protected function commands () |
|
38 | 38 | { |
39 | 39 | $this->load(__DIR__.'/Commands'); |
40 | 40 |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * |
36 | 36 | * @return void |
37 | 37 | */ |
38 | - public function report(Exception $exception) |
|
38 | + public function report (Exception $exception) |
|
39 | 39 | { |
40 | 40 | parent::report($exception); |
41 | 41 | } |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * |
49 | 49 | * @return \Illuminate\Http\Response |
50 | 50 | */ |
51 | - public function render($request, Exception $exception) |
|
51 | + public function render ($request, Exception $exception) |
|
52 | 52 | { |
53 | 53 | return parent::render($request, $exception); |
54 | 54 | } |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | * |
22 | 22 | * @return void |
23 | 23 | */ |
24 | - public function boot() |
|
24 | + public function boot () |
|
25 | 25 | { |
26 | 26 | // |
27 | 27 | |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * |
34 | 34 | * @return void |
35 | 35 | */ |
36 | - public function map() |
|
36 | + public function map () |
|
37 | 37 | { |
38 | 38 | $this->mapApiRoutes(); |
39 | 39 | |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | * |
50 | 50 | * @return void |
51 | 51 | */ |
52 | - protected function mapWebRoutes() |
|
52 | + protected function mapWebRoutes () |
|
53 | 53 | { |
54 | 54 | Route::middleware('web') |
55 | 55 | ->namespace($this->namespace) |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * |
64 | 64 | * @return void |
65 | 65 | */ |
66 | - protected function mapApiRoutes() |
|
66 | + protected function mapApiRoutes () |
|
67 | 67 | { |
68 | 68 | Route::prefix('api') |
69 | 69 | ->middleware('api') |
@@ -37,114 +37,114 @@ |
||
37 | 37 | */ |
38 | 38 | protected $deletedAt; |
39 | 39 | |
40 | - public function getId() |
|
40 | + public function getId () |
|
41 | 41 | { |
42 | 42 | return $this->id; |
43 | 43 | } |
44 | 44 | |
45 | - public function getCreatedAt(): DateTime |
|
45 | + public function getCreatedAt (): DateTime |
|
46 | 46 | { |
47 | 47 | return $this->createdAt; |
48 | 48 | } |
49 | 49 | |
50 | - public function getUpdatedAt(): DateTime |
|
50 | + public function getUpdatedAt (): DateTime |
|
51 | 51 | { |
52 | 52 | return $this->createdAt; |
53 | 53 | } |
54 | 54 | |
55 | - public function getDeletedAt(): DateTime |
|
55 | + public function getDeletedAt (): DateTime |
|
56 | 56 | { |
57 | 57 | return $this->deletedAt; |
58 | 58 | } |
59 | 59 | |
60 | - public function getRepository(): Repository |
|
60 | + public function getRepository (): Repository |
|
61 | 61 | { |
62 | 62 | |
63 | 63 | } |
64 | 64 | |
65 | - public function preRemove() |
|
65 | + public function preRemove () |
|
66 | 66 | { |
67 | 67 | |
68 | 68 | } |
69 | 69 | |
70 | - public function postRemove() |
|
70 | + public function postRemove () |
|
71 | 71 | { |
72 | 72 | |
73 | 73 | } |
74 | 74 | |
75 | - public function prePersist() |
|
75 | + public function prePersist () |
|
76 | 76 | { |
77 | 77 | |
78 | 78 | } |
79 | 79 | |
80 | - public function postPersist() |
|
80 | + public function postPersist () |
|
81 | 81 | { |
82 | 82 | |
83 | 83 | } |
84 | 84 | |
85 | - public function preUpdate() |
|
85 | + public function preUpdate () |
|
86 | 86 | { |
87 | 87 | |
88 | 88 | } |
89 | 89 | |
90 | - public function postUpdate() |
|
90 | + public function postUpdate () |
|
91 | 91 | { |
92 | 92 | |
93 | 93 | } |
94 | 94 | |
95 | - public function preFlush() |
|
95 | + public function preFlush () |
|
96 | 96 | { |
97 | 97 | |
98 | 98 | } |
99 | 99 | |
100 | - public function postFlush() |
|
100 | + public function postFlush () |
|
101 | 101 | { |
102 | 102 | |
103 | 103 | } |
104 | 104 | |
105 | - public function persist(): Entity |
|
105 | + public function persist (): Entity |
|
106 | 106 | { |
107 | 107 | |
108 | 108 | } |
109 | 109 | |
110 | - public function flush(): Entity |
|
110 | + public function flush (): Entity |
|
111 | 111 | { |
112 | 112 | |
113 | 113 | } |
114 | 114 | |
115 | - public function remove(): Entity |
|
115 | + public function remove (): Entity |
|
116 | 116 | { |
117 | 117 | |
118 | 118 | } |
119 | 119 | |
120 | - public function undelete(): Entity |
|
120 | + public function undelete (): Entity |
|
121 | 121 | { |
122 | 122 | $this->deletedAt = null; |
123 | 123 | |
124 | 124 | return $this; |
125 | 125 | } |
126 | 126 | |
127 | - public function fillable(): array |
|
127 | + public function fillable (): array |
|
128 | 128 | { |
129 | - return []; |
|
129 | + return [ ]; |
|
130 | 130 | } |
131 | 131 | |
132 | - public function onlyStore(): array |
|
132 | + public function onlyStore (): array |
|
133 | 133 | { |
134 | - return []; |
|
134 | + return [ ]; |
|
135 | 135 | } |
136 | 136 | |
137 | - public function onlyUpdate(): array |
|
137 | + public function onlyUpdate (): array |
|
138 | 138 | { |
139 | - return []; |
|
139 | + return [ ]; |
|
140 | 140 | } |
141 | 141 | |
142 | - public function toArray(array $options = []): array |
|
142 | + public function toArray (array $options = [ ]): array |
|
143 | 143 | { |
144 | 144 | |
145 | 145 | } |
146 | 146 | |
147 | - public function toObject(array $options): Entity |
|
147 | + public function toObject (array $options): Entity |
|
148 | 148 | { |
149 | 149 | |
150 | 150 | } |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | 'dev' => env('APP_DEBUG'), |
26 | 26 | 'meta' => env('DOCTRINE_METADATA', 'annotations'), |
27 | 27 | 'connection' => env('DB_CONNECTION', 'mysql'), |
28 | - 'namespaces' => [], |
|
28 | + 'namespaces' => [ ], |
|
29 | 29 | 'paths' => [ |
30 | 30 | base_path('app/Entities') |
31 | 31 | ], |
@@ -45,10 +45,10 @@ discard block |
||
45 | 45 | | |
46 | 46 | */ |
47 | 47 | 'events' => [ |
48 | - 'listeners' => [], |
|
49 | - 'subscribers' => [] |
|
48 | + 'listeners' => [ ], |
|
49 | + 'subscribers' => [ ] |
|
50 | 50 | ], |
51 | - 'filters' => [], |
|
51 | + 'filters' => [ ], |
|
52 | 52 | /* |
53 | 53 | |-------------------------------------------------------------------------- |
54 | 54 | | Doctrine mapping types |
@@ -115,19 +115,19 @@ discard block |
||
115 | 115 | | DQL custom datetime functions |
116 | 116 | |-------------------------------------------------------------------------- |
117 | 117 | */ |
118 | - 'custom_datetime_functions' => [], |
|
118 | + 'custom_datetime_functions' => [ ], |
|
119 | 119 | /* |
120 | 120 | |-------------------------------------------------------------------------- |
121 | 121 | | DQL custom numeric functions |
122 | 122 | |-------------------------------------------------------------------------- |
123 | 123 | */ |
124 | - 'custom_numeric_functions' => [], |
|
124 | + 'custom_numeric_functions' => [ ], |
|
125 | 125 | /* |
126 | 126 | |-------------------------------------------------------------------------- |
127 | 127 | | DQL custom string functions |
128 | 128 | |-------------------------------------------------------------------------- |
129 | 129 | */ |
130 | - 'custom_string_functions' => [], |
|
130 | + 'custom_string_functions' => [ ], |
|
131 | 131 | /* |
132 | 132 | |-------------------------------------------------------------------------- |
133 | 133 | | Register custom hydrators |