| @@ -31,7 +31,7 @@ | ||
| 31 | 31 | */ | 
| 32 | 32 | public function fullReference(): string | 
| 33 | 33 |      { | 
| 34 | - return $this->category()->reference() . '.' . $this->reference(); | |
| 34 | + return $this->category()->reference().'.'.$this->reference(); | |
| 35 | 35 | } | 
| 36 | 36 | |
| 37 | 37 | /** | 
| @@ -59,13 +59,13 @@ | ||
| 59 | 59 | */ | 
| 60 | 60 | public function update(RoleTagCategory $roleTagCategory, RoleTagCategoryUpdateRequest $request) | 
| 61 | 61 |      { | 
| 62 | -        if($request->input('name') !== null) { | |
| 62 | +        if ($request->input('name') !== null) { | |
| 63 | 63 |              $roleTagCategory->setName($request->input('name')); | 
| 64 | 64 | } | 
| 65 | -        if($request->input('description') !== null) { | |
| 65 | +        if ($request->input('description') !== null) { | |
| 66 | 66 |              $roleTagCategory->setDescription($request->input('description')); | 
| 67 | 67 | } | 
| 68 | -        if($request->input('reference') !== null) { | |
| 68 | +        if ($request->input('reference') !== null) { | |
| 69 | 69 |              $roleTagCategory->setReference($request->input('reference')); | 
| 70 | 70 | } | 
| 71 | 71 | |
| @@ -62,16 +62,16 @@ | ||
| 62 | 62 | */ | 
| 63 | 63 | public function update(GroupTag $groupTag, GroupTagUpdateRequest $request) | 
| 64 | 64 |      { | 
| 65 | -        if($request->input('name') !== null) { | |
| 65 | +        if ($request->input('name') !== null) { | |
| 66 | 66 |              $groupTag->setName($request->input('name')); | 
| 67 | 67 | } | 
| 68 | -        if($request->input('description') !== null) { | |
| 68 | +        if ($request->input('description') !== null) { | |
| 69 | 69 |              $groupTag->setDescription($request->input('description')); | 
| 70 | 70 | } | 
| 71 | -        if($request->input('reference') !== null) { | |
| 71 | +        if ($request->input('reference') !== null) { | |
| 72 | 72 |              $groupTag->setReference($request->input('reference')); | 
| 73 | 73 | } | 
| 74 | -        if($request->input('tag_category_id') !== null) { | |
| 74 | +        if ($request->input('tag_category_id') !== null) { | |
| 75 | 75 |              $groupTag->setTagCategoryId($request->input('tag_category_id')); | 
| 76 | 76 | } | 
| 77 | 77 | |
| @@ -59,13 +59,13 @@ | ||
| 59 | 59 | */ | 
| 60 | 60 | public function update(PositionTagCategory $positionTagCategory, PositionTagCategoryUpdateRequest $request) | 
| 61 | 61 |      { | 
| 62 | -        if($request->input('name') !== null) { | |
| 62 | +        if ($request->input('name') !== null) { | |
| 63 | 63 |              $positionTagCategory->setName($request->input('name')); | 
| 64 | 64 | } | 
| 65 | -        if($request->input('description') !== null) { | |
| 65 | +        if ($request->input('description') !== null) { | |
| 66 | 66 |              $positionTagCategory->setDescription($request->input('description')); | 
| 67 | 67 | } | 
| 68 | -        if($request->input('reference') !== null) { | |
| 68 | +        if ($request->input('reference') !== null) { | |
| 69 | 69 |              $positionTagCategory->setReference($request->input('reference')); | 
| 70 | 70 | } | 
| 71 | 71 | |
| @@ -62,16 +62,16 @@ | ||
| 62 | 62 | */ | 
| 63 | 63 | public function update(UserTag $userTag, UserTagUpdateRequest $request) | 
| 64 | 64 |      { | 
| 65 | -        if($request->input('name') !== null) { | |
| 65 | +        if ($request->input('name') !== null) { | |
| 66 | 66 |              $userTag->setName($request->input('name')); | 
| 67 | 67 | } | 
| 68 | -        if($request->input('description') !== null) { | |
| 68 | +        if ($request->input('description') !== null) { | |
| 69 | 69 |              $userTag->setDescription($request->input('description')); | 
| 70 | 70 | } | 
| 71 | -        if($request->input('reference') !== null) { | |
| 71 | +        if ($request->input('reference') !== null) { | |
| 72 | 72 |              $userTag->setReference($request->input('reference')); | 
| 73 | 73 | } | 
| 74 | -        if($request->input('tag_category_id') !== null) { | |
| 74 | +        if ($request->input('tag_category_id') !== null) { | |
| 75 | 75 |              $userTag->setTagCategoryId($request->input('tag_category_id')); | 
| 76 | 76 | } | 
| 77 | 77 | |
| @@ -59,13 +59,13 @@ | ||
| 59 | 59 | */ | 
| 60 | 60 | public function update(UserTagCategory $userTagCategory, UserTagCategoryUpdateRequest $request) | 
| 61 | 61 |      { | 
| 62 | -        if($request->input('name') !== null) { | |
| 62 | +        if ($request->input('name') !== null) { | |
| 63 | 63 |              $userTagCategory->setName($request->input('name')); | 
| 64 | 64 | } | 
| 65 | -        if($request->input('description') !== null) { | |
| 65 | +        if ($request->input('description') !== null) { | |
| 66 | 66 |              $userTagCategory->setDescription($request->input('description')); | 
| 67 | 67 | } | 
| 68 | -        if($request->input('reference') !== null) { | |
| 68 | +        if ($request->input('reference') !== null) { | |
| 69 | 69 |              $userTagCategory->setReference($request->input('reference')); | 
| 70 | 70 | } | 
| 71 | 71 | |
| @@ -62,16 +62,16 @@ | ||
| 62 | 62 | */ | 
| 63 | 63 | public function update(RoleTag $roleTag, RoleTagUpdateRequest $request) | 
| 64 | 64 |      { | 
| 65 | -        if($request->input('name') !== null) { | |
| 65 | +        if ($request->input('name') !== null) { | |
| 66 | 66 |              $roleTag->setName($request->input('name')); | 
| 67 | 67 | } | 
| 68 | -        if($request->input('description') !== null) { | |
| 68 | +        if ($request->input('description') !== null) { | |
| 69 | 69 |              $roleTag->setDescription($request->input('description')); | 
| 70 | 70 | } | 
| 71 | -        if($request->input('reference') !== null) { | |
| 71 | +        if ($request->input('reference') !== null) { | |
| 72 | 72 |              $roleTag->setReference($request->input('reference')); | 
| 73 | 73 | } | 
| 74 | -        if($request->input('tag_category_id') !== null) { | |
| 74 | +        if ($request->input('tag_category_id') !== null) { | |
| 75 | 75 |              $roleTag->setTagCategoryId($request->input('tag_category_id')); | 
| 76 | 76 | } | 
| 77 | 77 | |
| @@ -34,7 +34,7 @@ | ||
| 34 | 34 | */ | 
| 35 | 35 | public function show(Position $position) | 
| 36 | 36 |      { | 
| 37 | - return $position; | |
| 37 | + return $position; | |
| 38 | 38 | } | 
| 39 | 39 | |
| 40 | 40 | /** | 
| @@ -51,8 +51,8 @@ discard block | ||
| 51 | 51 |              $request->input('name'), | 
| 52 | 52 |              $request->input('description') | 
| 53 | 53 | ); | 
| 54 | -        foreach($dataPosition->getAdditionalAttributes() as $additionalAttribute) { | |
| 55 | -            if($request->has($additionalAttribute)) { | |
| 54 | +        foreach ($dataPosition->getAdditionalAttributes() as $additionalAttribute) { | |
| 55 | +            if ($request->has($additionalAttribute)) { | |
| 56 | 56 | $dataPosition->saveAdditionalAttribute($additionalAttribute, $request->input($additionalAttribute)); | 
| 57 | 57 | } | 
| 58 | 58 | } | 
| @@ -73,14 +73,14 @@ discard block | ||
| 73 | 73 |      { | 
| 74 | 74 | $dataPosition = $position->data(); | 
| 75 | 75 | |
| 76 | -        if($request->input('name') !== null) { | |
| 76 | +        if ($request->input('name') !== null) { | |
| 77 | 77 |              $dataPosition->setName($request->input('name')); | 
| 78 | 78 | } | 
| 79 | -        if($request->input('description') !== null) { | |
| 79 | +        if ($request->input('description') !== null) { | |
| 80 | 80 |              $dataPosition->setDescription($request->input('description')); | 
| 81 | 81 | } | 
| 82 | -        foreach($dataPosition->getAdditionalAttributes() as $additionalAttribute) { | |
| 83 | -            if($request->has($additionalAttribute)) { | |
| 82 | +        foreach ($dataPosition->getAdditionalAttributes() as $additionalAttribute) { | |
| 83 | +            if ($request->has($additionalAttribute)) { | |
| 84 | 84 | $dataPosition->saveAdditionalAttribute($additionalAttribute, $request->input($additionalAttribute)); | 
| 85 | 85 | } | 
| 86 | 86 | } | 
| @@ -59,13 +59,13 @@ | ||
| 59 | 59 | */ | 
| 60 | 60 | public function update(GroupTagCategory $groupTagCategory, GroupTagCategoryUpdateRequest $request) | 
| 61 | 61 |      { | 
| 62 | -        if($request->input('name') !== null) { | |
| 62 | +        if ($request->input('name') !== null) { | |
| 63 | 63 |              $groupTagCategory->setName($request->input('name')); | 
| 64 | 64 | } | 
| 65 | -        if($request->input('description') !== null) { | |
| 65 | +        if ($request->input('description') !== null) { | |
| 66 | 66 |              $groupTagCategory->setDescription($request->input('description')); | 
| 67 | 67 | } | 
| 68 | -        if($request->input('reference') !== null) { | |
| 68 | +        if ($request->input('reference') !== null) { | |
| 69 | 69 |              $groupTagCategory->setReference($request->input('reference')); | 
| 70 | 70 | } | 
| 71 | 71 | |