suppress deprecation notice, convert route param (#3391)
This commit is contained in:
@@ -137,17 +137,16 @@ trait StringAccessibleConfigTrait
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function offsetExists($offset)
|
||||
public function offsetExists($offset): bool
|
||||
{
|
||||
return $this->has($offset);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
* @param $offset
|
||||
* @return array|bool|float|int|string|null
|
||||
*/
|
||||
#[\ReturnTypeWillChange]
|
||||
public function offsetGet($offset)
|
||||
{
|
||||
return $this->find($offset);
|
||||
|
||||
Reference in New Issue
Block a user