Skip to content

Commit

Permalink
Add missing strict types
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Jun 14, 2023
1 parent 2127a59 commit 181ef1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Testing/EmulatesQueries.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ protected function applyBatchModificationToModel(Model $model, array $modificati
/**
* {@inheritdoc}
*/
public function findOrFail($dn, $columns = ['*']): LdapRecord|array
public function findOrFail(string $dn, array|string $columns = ['*']): LdapRecord|array
{
if (! $database = $this->findEloquentModelByDn($dn)) {
$this->throwNotFoundException($this->getUnescapedQuery(), $dn);
Expand Down

0 comments on commit 181ef1c

Please sign in to comment.