Passed
Push — feature/hr-portal ( ae4ab3...ab04c7 )
by Chris
12:13 queued 11s
created
app/Utilities/HandleNullState.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     public function getFunctions(): array
14 14
     {
15 15
         return [
16
-          new Twig_SimpleFunction('handleNullState', [$this, 'handleNullState']),
16
+            new Twig_SimpleFunction('handleNullState', [$this, 'handleNullState']),
17 17
         ];
18 18
     }
19 19
 
Please login to merge, or discard this patch.
app/Models/Criteria.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@
 block discarded – undo
28 28
  * @property string $level_description The localized description of the skill level (accounts for skill type).
29 29
  *
30 30
  *  Localized Properties:
31
-  * @property string $description
32
-  * @property string $specificity
31
+ * @property string $description
32
+ * @property string $specificity
33 33
  */
34 34
 class Criteria extends BaseModel
35 35
 {
Please login to merge, or discard this patch.
app/Http/Controllers/Api/CriteriaController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
 class CriteriaController extends Controller
13 13
 {
14 14
 /**
15
-     * Converts a Criteria to the shape sent and recieved by the api.
16
-     *
17
-     * @param Criteria $model
18
-     * @return void
19
-     */
15
+ * Converts a Criteria to the shape sent and recieved by the api.
16
+ *
17
+ * @param Criteria $model
18
+ * @return void
19
+ */
20 20
     public function toApiArray(Criteria $model)
21 21
     {
22 22
         return array_merge($model->toArray(), $model->getTranslationsArray());
Please login to merge, or discard this patch.
app/Models/User.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -190,10 +190,10 @@  discard block
 block discarded – undo
190 190
     }
191 191
 
192 192
     /**
193
-    * Check if the user has the specified role.
194
-    * @param string $role This may be either 'applicant', 'manager', 'hr_advisor' or 'admin'.
195
-    * @return boolean
196
-    */
193
+     * Check if the user has the specified role.
194
+     * @param string $role This may be either 'applicant', 'manager', 'hr_advisor' or 'admin'.
195
+     * @return boolean
196
+     */
197 197
     public function hasRole($role)
198 198
     {
199 199
         switch ($role) {
@@ -214,8 +214,8 @@  discard block
 block discarded – undo
214 214
      * Set this user to the specified role.
215 215
      *
216 216
      * @param string $role Must be either 'applicant', 'manager', 'hr_advisor' or 'admin'.
217
-    * @return void
218
-    */
217
+     * @return void
218
+     */
219 219
     public function setRole(string $role): void
220 220
     {
221 221
         $this->user_role()->associate(UserRole::where('name', $role)->firstOrFail());
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
      * Returns a user's full name.
251 251
      *
252 252
      * @return string
253
-    */
253
+     */
254 254
     public function getFullNameAttribute(): string
255 255
     {
256 256
         return $this->first_name . ' ' . $this->last_name;
Please login to merge, or discard this patch.
app/Http/ViewComposers/MenuComposer.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -238,12 +238,12 @@
 block discarded – undo
238 238
                 'logout_link' => route('hr_advisor.logout'),
239 239
             ];
240 240
         } elseif (WhichPortal::isAdminPortal()) {
241
-             $loginModals = [
241
+                $loginModals = [
242 242
                 'modals' => Lang::get('common/login_modals'),
243 243
                 'register_link' => route('register'),
244 244
                 'login_link' => backpack_url('login'),
245 245
                 'logout_link' => backpack_url('logout'),
246
-             ];
246
+                ];
247 247
         } else {
248 248
             $loginModals = [
249 249
                 'modals' => Lang::get('common/login_modals'),
Please login to merge, or discard this patch.