@@ -5,8 +5,7 @@ |
||
5 | 5 | use Illuminate\Foundation\Auth\SendsPasswordResetEmails; |
6 | 6 | use LaravelSeed\Http\Controllers\Controller; |
7 | 7 | |
8 | -class ForgotPasswordController extends Controller |
|
9 | -{ |
|
8 | +class ForgotPasswordController extends Controller { |
|
10 | 9 | /* |
11 | 10 | |-------------------------------------------------------------------------- |
12 | 11 | | Password Reset Controller |
@@ -5,8 +5,7 @@ |
||
5 | 5 | use Illuminate\Foundation\Auth\ResetsPasswords; |
6 | 6 | use LaravelSeed\Http\Controllers\Controller; |
7 | 7 | |
8 | -class ResetPasswordController extends Controller |
|
9 | -{ |
|
8 | +class ResetPasswordController extends Controller { |
|
10 | 9 | /* |
11 | 10 | |-------------------------------------------------------------------------- |
12 | 11 | | Password Reset Controller |
@@ -5,8 +5,7 @@ |
||
5 | 5 | use Illuminate\Foundation\Auth\AuthenticatesUsers; |
6 | 6 | use LaravelSeed\Http\Controllers\Controller; |
7 | 7 | |
8 | -class LoginController extends Controller |
|
9 | -{ |
|
8 | +class LoginController extends Controller { |
|
10 | 9 | /* |
11 | 10 | |-------------------------------------------------------------------------- |
12 | 11 | | Login Controller |
@@ -7,8 +7,7 @@ |
||
7 | 7 | use LaravelSeed\Http\Controllers\Controller; |
8 | 8 | use LaravelSeed\User; |
9 | 9 | |
10 | -class RegisterController extends Controller |
|
11 | -{ |
|
10 | +class RegisterController extends Controller { |
|
12 | 11 | /* |
13 | 12 | |-------------------------------------------------------------------------- |
14 | 13 | | Register Controller |
@@ -37,101 +37,101 @@ |
||
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 | - public function preRemove() |
|
64 | + public function preRemove () |
|
65 | 65 | { |
66 | 66 | } |
67 | 67 | |
68 | - public function postRemove() |
|
68 | + public function postRemove () |
|
69 | 69 | { |
70 | 70 | } |
71 | 71 | |
72 | - public function prePersist() |
|
72 | + public function prePersist () |
|
73 | 73 | { |
74 | 74 | } |
75 | 75 | |
76 | - public function postPersist() |
|
76 | + public function postPersist () |
|
77 | 77 | { |
78 | 78 | } |
79 | 79 | |
80 | - public function preUpdate() |
|
80 | + public function preUpdate () |
|
81 | 81 | { |
82 | 82 | } |
83 | 83 | |
84 | - public function postUpdate() |
|
84 | + public function postUpdate () |
|
85 | 85 | { |
86 | 86 | } |
87 | 87 | |
88 | - public function preFlush() |
|
88 | + public function preFlush () |
|
89 | 89 | { |
90 | 90 | } |
91 | 91 | |
92 | - public function postFlush() |
|
92 | + public function postFlush () |
|
93 | 93 | { |
94 | 94 | } |
95 | 95 | |
96 | - public function persist(): Entity |
|
96 | + public function persist (): Entity |
|
97 | 97 | { |
98 | 98 | } |
99 | 99 | |
100 | - public function flush(): Entity |
|
100 | + public function flush (): Entity |
|
101 | 101 | { |
102 | 102 | } |
103 | 103 | |
104 | - public function remove(): Entity |
|
104 | + public function remove (): Entity |
|
105 | 105 | { |
106 | 106 | } |
107 | 107 | |
108 | - public function undelete(): Entity |
|
108 | + public function undelete (): Entity |
|
109 | 109 | { |
110 | 110 | $this->deletedAt = null; |
111 | 111 | |
112 | 112 | return $this; |
113 | 113 | } |
114 | 114 | |
115 | - public function fillable(): array |
|
115 | + public function fillable (): array |
|
116 | 116 | { |
117 | - return []; |
|
117 | + return [ ]; |
|
118 | 118 | } |
119 | 119 | |
120 | - public function onlyStore(): array |
|
120 | + public function onlyStore (): array |
|
121 | 121 | { |
122 | - return []; |
|
122 | + return [ ]; |
|
123 | 123 | } |
124 | 124 | |
125 | - public function onlyUpdate(): array |
|
125 | + public function onlyUpdate (): array |
|
126 | 126 | { |
127 | - return []; |
|
127 | + return [ ]; |
|
128 | 128 | } |
129 | 129 | |
130 | - public function toArray(array $options = []): array |
|
130 | + public function toArray (array $options = [ ]): array |
|
131 | 131 | { |
132 | 132 | } |
133 | 133 | |
134 | - public function toObject(array $options): Entity |
|
134 | + public function toObject (array $options): Entity |
|
135 | 135 | { |
136 | 136 | } |
137 | 137 | } |
@@ -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 |
@@ -31,9 +31,9 @@ discard block |
||
31 | 31 | ], |
32 | 32 | 'repository' => Doctrine\ORM\EntityRepository::class, |
33 | 33 | 'proxies' => [ |
34 | - 'namespace' => false, |
|
34 | + 'namespace' => FALSE, |
|
35 | 35 | 'path' => storage_path('proxies'), |
36 | - 'auto_generate' => env('DOCTRINE_PROXY_AUTOGENERATE', false), |
|
36 | + 'auto_generate' => env('DOCTRINE_PROXY_AUTOGENERATE', FALSE), |
|
37 | 37 | ], |
38 | 38 | /* |
39 | 39 | |-------------------------------------------------------------------------- |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | | - LaravelDoctrine\ORM\Loggers\FileLogger |
149 | 149 | |-------------------------------------------------------------------------- |
150 | 150 | */ |
151 | - 'logger' => env('DOCTRINE_LOGGER', false), |
|
151 | + 'logger' => env('DOCTRINE_LOGGER', FALSE), |
|
152 | 152 | /* |
153 | 153 | |-------------------------------------------------------------------------- |
154 | 154 | | Cache |
@@ -161,20 +161,20 @@ discard block |
||
161 | 161 | | |
162 | 162 | */ |
163 | 163 | 'cache' => [ |
164 | - 'second_level' => false, |
|
164 | + 'second_level' => FALSE, |
|
165 | 165 | 'default' => env('DOCTRINE_CACHE', 'array'), |
166 | - 'namespace' => null, |
|
166 | + 'namespace' => NULL, |
|
167 | 167 | 'metadata' => [ |
168 | 168 | 'driver' => env('DOCTRINE_METADATA_CACHE', env('DOCTRINE_CACHE', 'array')), |
169 | - 'namespace' => null, |
|
169 | + 'namespace' => NULL, |
|
170 | 170 | ], |
171 | 171 | 'query' => [ |
172 | 172 | 'driver' => env('DOCTRINE_QUERY_CACHE', env('DOCTRINE_CACHE', 'array')), |
173 | - 'namespace' => null, |
|
173 | + 'namespace' => NULL, |
|
174 | 174 | ], |
175 | 175 | 'result' => [ |
176 | 176 | 'driver' => env('DOCTRINE_RESULT_CACHE', env('DOCTRINE_CACHE', 'array')), |
177 | - 'namespace' => null, |
|
177 | + 'namespace' => NULL, |
|
178 | 178 | ], |
179 | 179 | ], |
180 | 180 | /* |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | | |
189 | 189 | */ |
190 | 190 | 'gedmo' => [ |
191 | - 'all_mappings' => false, |
|
191 | + 'all_mappings' => FALSE, |
|
192 | 192 | ], |
193 | 193 | /* |
194 | 194 | |-------------------------------------------------------------------------- |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | | Enables the Doctrine Presence Verifier for Validation |
199 | 199 | | |
200 | 200 | */ |
201 | - 'doctrine_presence_verifier' => true, |
|
201 | + 'doctrine_presence_verifier' => TRUE, |
|
202 | 202 | |
203 | 203 | /* |
204 | 204 | |-------------------------------------------------------------------------- |