Browse Source

Because windows is silly

Walther Lalk 9 years ago
parent
commit
112bb2f5d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Validation/ValidatorAwareTrait.php

+ 1 - 1
src/Validation/ValidatorAwareTrait.php

@@ -111,7 +111,7 @@ trait ValidatorAwareTrait
             }
 
             if (!$validator instanceof Validator) {
-                throw new RuntimeException(sprintf('The %s::%s() validation method must return an instance of %s.', self::class, 'validation' . ucfirst($name), Validator::class));
+                throw new RuntimeException(sprintf('The %s::%s() validation method must return an instance of %s.', __CLASS__, 'validation' . ucfirst($name), Validator::class));
             }
         }