]> _ Git - cubist_cms-back.git/commitdiff
wip #5399
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 19 Aug 2022 16:33:00 +0000 (18:33 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 19 Aug 2022 16:33:00 +0000 (18:33 +0200)
src/app/Magic/Fields/SelectFromModel.php

index 47fad04247ebbf56565413ba224c9acd83fea159..df917825cf9338476e975c5e88beba504e46e60a 100644 (file)
@@ -5,6 +5,7 @@ namespace Cubist\Backpack\Magic\Fields;
 
 
 use Cubist\Backpack\CubistBackpackServiceProvider;
+use Laravel\SerializableClosure\Exceptions\PhpVersionNotSupportedException;
 use Laravel\SerializableClosure\SerializableClosure;
 
 class SelectFromModel extends Model
@@ -24,6 +25,9 @@ class SelectFromModel extends Model
     protected $_ajax = true;
 
 
+    /**
+     * @throws PhpVersionNotSupportedException
+     */
     public function getDefaultAttributes()
     {
         $field = $this;