Skip to content

Commit

Permalink
add more function parameter types
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Oct 10, 2024
1 parent 59594d6 commit 129054f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions features/fakes/FakeIdBrokerClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ public function updateUserLastLogin(string $employeeId): array
* Create a new MFA configuration
* @param string $employee_id
* @param string $type
* @param string $label
* @param string|null $label
* @return array|null
* @throws Exception
*/
public function mfaCreate($employee_id, $type, $label = null): ?array
public function mfaCreate(string $employee_id, string $type, string $label = null): ?array
{
if (empty($employee_id)) {
throw new InvalidArgumentException('employee_id is required');
Expand Down Expand Up @@ -127,7 +127,7 @@ public function mfaCreate($employee_id, $type, $label = null): ?array
* @param string $employee_id
* @return array
*/
public function mfaList(string $employee_id)
public function mfaList(string $employee_id): array
{
return [
[
Expand Down

0 comments on commit 129054f

Please sign in to comment.