소스 검색

Error message fix

DaliusK 10 년 전
부모
커밋
fc0af3e032
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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]);