mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 17:27:22 +01:00
refactor: comments
This commit is contained in:
@ -19,7 +19,7 @@ trait RetrievesValues
|
||||
*
|
||||
* @return TRetrievableValue|null
|
||||
*/
|
||||
private function retrieve(string $key, $value, $default = null)
|
||||
private function retrieve(string $key, mixed $value, mixed $default = null): mixed
|
||||
{
|
||||
if (is_array($value)) {
|
||||
return $value[$key] ?? $default;
|
||||
|
||||
Reference in New Issue
Block a user