Completed
Push — master ( 7e51b9...91e5b0 )
by Sherif
04:01 queued 01:33
created
src/Modules/Acl/Database/Migrations/2015_12_20_124153_users.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -13,31 +13,31 @@
 block discarded – undo
13 13
 	public function up()
14 14
 	{
15 15
 		Schema::create('users', function (Blueprint $table) {
16
-            $table->increments('id');
17
-            $table->string('profile_picture', 150)->nullable();
18
-            $table->string('name', 100)->nullable();
19
-            $table->string('email')->unique();
20
-            $table->string('password', 60)->nullable();
21
-            $table->boolean('blocked')->default(0);
22
-            $table->boolean('confirmed')->default(0);
23
-            $table->string('confirmation_code')->nullable();
24
-            $table->softDeletes();
25
-            $table->rememberToken();
26
-            $table->timestamps();
27
-        });
16
+			$table->increments('id');
17
+			$table->string('profile_picture', 150)->nullable();
18
+			$table->string('name', 100)->nullable();
19
+			$table->string('email')->unique();
20
+			$table->string('password', 60)->nullable();
21
+			$table->boolean('blocked')->default(0);
22
+			$table->boolean('confirmed')->default(0);
23
+			$table->string('confirmation_code')->nullable();
24
+			$table->softDeletes();
25
+			$table->rememberToken();
26
+			$table->timestamps();
27
+		});
28 28
 
29 29
 		/**
30 30
 		 * Create Default users.
31 31
 		 */
32 32
 		\DB::table('users')->insertGetId(
33
-            [
33
+			[
34 34
 			'name'       => 'Admin',
35 35
 			'email'      => '[email protected]',
36 36
 			'password'   => bcrypt('123456'),
37 37
 			'created_at' => \DB::raw('NOW()'),
38 38
 			'updated_at' => \DB::raw('NOW()')
39 39
 			]
40
-        );
40
+		);
41 41
 	}
42 42
 
43 43
 	/**
Please login to merge, or discard this patch.
src/Modules/Acl/Repositories/UserRepository.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 	/**
62 62
 	 * Check if the logged in user has the given group.
63 63
 	 * 
64
-	 * @param  array $groups
64
+	 * @param  string[] $groups
65 65
 	 * @param  mixed $user
66 66
 	 * @return boolean
67 67
 	 */
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
 	 * 
156 156
 	 * @param  array   $credentials
157 157
 	 * @param  boolean $skipConfirmEmail
158
-	 * @return array
158
+	 * @return boolean
159 159
 	 */
160 160
 	public function register($credentials, $skipConfirmEmail = false)
161 161
 	{
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
 	 * Reset the given user's password.
247 247
 	 *
248 248
 	 * @param  array  $credentials
249
-	 * @return array
249
+	 * @return string|null
250 250
 	 */
251 251
 	public function resetPassword($credentials)
252 252
 	{
Please login to merge, or discard this patch.
src/Modules/Core/AbstractRepositories/AbstractRepository.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 	 *
33 33
 	 * @param  array   $relations
34 34
 	 * @param  string  $sortBy
35
-	 * @param  boolean $desc
35
+	 * @param  integer $desc
36 36
 	 * @param  array   $columns
37 37
 	 * @return collection
38 38
 	 */
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 	 * @param  integer $perPage
51 51
 	 * @param  array   $relations
52 52
 	 * @param  string  $sortBy
53
-	 * @param  boolean $desc
53
+	 * @param  integer $desc
54 54
 	 * @param  array   $columns
55 55
 	 * @return collection
56 56
 	 */
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
 	 * @param  integer $perPage
165 165
 	 * @param  array   $relations
166 166
 	 * @param  string  $sortBy
167
-	 * @param  boolean $desc
167
+	 * @param  integer $desc
168 168
 	 * @param  array   $columns
169 169
 	 * @return collection
170 170
 	 */
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 	 * @param  integer $perPage
183 183
 	 * @param  array   $relations
184 184
 	 * @param  string  $sortBy
185
-	 * @param  boolean $desc
185
+	 * @param  integer $desc
186 186
 	 * @param  array   $columns
187 187
 	 * @return collection
188 188
 	 */
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
 	 * Save the given model to the storage.
199 199
 	 * 
200 200
 	 * @param  array $data
201
-	 * @return mixed
201
+	 * @return boolean
202 202
 	 */
203 203
 	public function save(array $data)
204 204
 	{
@@ -517,7 +517,7 @@  discard block
 block discarded – undo
517 517
 	 * id.
518 518
 	 * 
519 519
 	 * @param  integer $id
520
-	 * @param  array   $relations
520
+	 * @param  string[]   $relations
521 521
 	 * @param  array   $columns
522 522
 	 * @return object
523 523
 	 */
@@ -533,7 +533,7 @@  discard block
 block discarded – undo
533 533
 	 * @param  array   $conditions array of conditions
534 534
 	 * @param  array   $relations
535 535
 	 * @param  string  $sortBy
536
-	 * @param  boolean $desc
536
+	 * @param  integer $desc
537 537
 	 * @param  array   $columns
538 538
 	 * @return collection
539 539
 	 */
@@ -565,7 +565,7 @@  discard block
 block discarded – undo
565 565
 	 * @param  array   $conditions array of conditions
566 566
 	 * @param  integer $perPage
567 567
 	 * @param  string  $sortBy
568
-	 * @param  boolean $desc
568
+	 * @param  integer $desc
569 569
 	 * @param  array   $columns
570 570
 	 * @return collection
571 571
 	 */
Please login to merge, or discard this patch.
src/Modules/Core/Console/Commands/GenerateDoc.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 	 * based on the docblock.
125 125
 	 * 
126 126
 	 * @param  array  &$route
127
-	 * @param  object $reflectionMethod
127
+	 * @param  \ReflectionMethod $reflectionMethod
128 128
 	 * @return void
129 129
 	 */
130 130
 	protected function processDocBlock(&$route, $reflectionMethod)
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 	 * Generate post body for the given route.
149 149
 	 * 
150 150
 	 * @param  array  &$route
151
-	 * @param  object $reflectionMethod
151
+	 * @param  \ReflectionMethod $reflectionMethod
152 152
 	 * @param  array  $validationRules
153 153
 	 * @return void
154 154
 	 */
Please login to merge, or discard this patch.
src/Modules/Notifications/Notifications/ConfirmEmail.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 	 * Get the notification's delivery channels.
25 25
 	 *
26 26
 	 * @param  mixed  $notifiable
27
-	 * @return array
27
+	 * @return string[]
28 28
 	 */
29 29
 	public function via($notifiable)
30 30
 	{
Please login to merge, or discard this patch.
src/Modules/Notifications/Notifications/ResetPassword.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 	 * Get the notification's delivery channels.
25 25
 	 *
26 26
 	 * @param  mixed  $notifiable
27
-	 * @return array
27
+	 * @return string[]
28 28
 	 */
29 29
 	public function via($notifiable)
30 30
 	{
Please login to merge, or discard this patch.