Explorar el Código

Error message fix

DaliusK hace 10 años
padre
commit
fc0af3e032
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Admin/Pool.php

+ 1 - 1
Admin/Pool.php

@@ -149,7 +149,7 @@ class Pool
         }
 
         if (count($this->adminClasses[$class]) > 1) {
-            throw new \RuntimeException(sprintf('Unable to found a valid admin for the class: %s, get too many admin registered: %s', $class, implode(",", $this->adminClasses[$class])));
+            throw new \RuntimeException(sprintf('Unable to find a valid admin for the class: %s, there are too many registered: %s', $class, implode(",", $this->adminClasses[$class])));
         }
 
         return $this->getInstance($this->adminClasses[$class][0]);