Skip to content

Commit 399b680

Browse files
Merge pull request #310 from kamil-michalak/fix-model-deprecated-warning
PHP8.4 - fix - PHP Deprecated: Reliese\Coders\Model\Factory::config(): Implic…
2 parents 2fc69cb + eba2dbd commit 399b680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Coders/Model/Factory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ protected function userFileBody(Model $model)
603603
*
604604
* @return mixed|\Reliese\Coders\Model\Config
605605
*/
606-
public function config(Blueprint $blueprint = null, $key = null, $default = null)
606+
public function config(?Blueprint $blueprint = null, $key = null, $default = null)
607607
{
608608
if (is_null($blueprint)) {
609609
return $this->config;

0 commit comments

Comments
 (0)