#132 - cs fix
This commit is contained in:
parent
35247cbabe
commit
4162dd3d67
@ -66,7 +66,6 @@ class VacationRequestsSummaryNotification extends Notification
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $message
|
return $message
|
||||||
->action(__("Go to requests"), $url);
|
->action(__("Go to requests"), $url);
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@ class VacationRequestsAttachment extends ListAttachment
|
|||||||
"url" => $url,
|
"url" => $url,
|
||||||
"request" => $request->name,
|
"request" => $request->name,
|
||||||
"user" => $request->user->profile->full_name,
|
"user" => $request->user->profile->full_name,
|
||||||
"date" => $date
|
"date" => $date,
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -51,7 +51,7 @@ class GiveKeysTo extends SignatureHandler
|
|||||||
$key->notify(new KeyHasBeenGivenNotification($authUser, $user));
|
$key->notify(new KeyHasBeenGivenNotification($authUser, $user));
|
||||||
|
|
||||||
return $this->respondToSlack(
|
return $this->respondToSlack(
|
||||||
__(":white_check_mark: Key no. :key has been given to <@:user>", ["key"=>$key->id, "user" => $user->profile->slack_id])
|
__(":white_check_mark: Key no. :key has been given to <@:user>", ["key" => $key->id, "user" => $user->profile->slack_id]),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ class TakeKeysFrom extends SignatureHandler
|
|||||||
|
|
||||||
if (!$key) {
|
if (!$key) {
|
||||||
throw ValidationException::withMessages([
|
throw ValidationException::withMessages([
|
||||||
"key" => __("User <@:user> does not have any keys", ["user" => $user->profile->slack_id])
|
"key" => __("User <@:user> does not have any keys", ["user" => $user->profile->slack_id]),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -64,7 +64,7 @@ class TakeKeysFrom extends SignatureHandler
|
|||||||
protected function getMessages(): array
|
protected function getMessages(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
"user.required" => __("You must specified the user you want to take the keys from")
|
"user.required" => __("You must specified the user you want to take the keys from"),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user