Explorar o código

Error message fix

DaliusK %!s(int64=10) %!d(string=hai) anos
pai
achega
fc0af3e032
Modificáronse 1 ficheiros con 1 adicións e 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) {
         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]);
         return $this->getInstance($this->adminClasses[$class][0]);