@@ -30,7 +30,7 @@ trait LocatorAwareTrait
*
* @var string|null
*/
- protected $defaultTable = null;
+ protected ?string $defaultTable = null;
/**
* Table locator instance
@@ -23,5 +23,5 @@ class ArticlesController extends Controller
* @var string
- protected $defaultTable = ArticlesTable::class;
+ protected ?string $defaultTable = ArticlesTable::class;
}
@@ -22,5 +22,5 @@ class WithDefaultTableController extends Controller
- protected $defaultTable = 'Posts';
+ protected ?string $defaultTable = 'Posts';