]> _ Git - cubist_cms-back.git/commitdiff
#2783
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 24 May 2019 15:02:15 +0000 (17:02 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 24 May 2019 15:02:15 +0000 (17:02 +0200)
src/app/Magic/Fields/Field.php

index 41a3092c4103248b81307591597977e795f3c2d6..c4c241495f0eff743e6d804b54fce3699087df41 100644 (file)
@@ -20,7 +20,7 @@ class Field
      * @return Field
      * @throws Exception
      */
-    public static function getInstance(&$attributes)
+    public static function getInstance($attributes)
     {
         if (!isset($attributes['type'])) {
             throw new Exception('You must specify a field type');