@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | * |
| 89 | 89 | * @throws SimpleCrudException |
| 90 | 90 | * |
| 91 | - * @return QueryInterface|null |
|
| 91 | + * @return FieldInterface |
|
| 92 | 92 | */ |
| 93 | 93 | public function __call($name, $arguments) |
| 94 | 94 | { |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | * |
| 174 | 174 | * @param string $name |
| 175 | 175 | * |
| 176 | - * @return null|mixed |
|
| 176 | + * @return string |
|
| 177 | 177 | */ |
| 178 | 178 | public function getAttribute($name) |
| 179 | 179 | { |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -spl_autoload_register(function ($class) { |
|
| 3 | +spl_autoload_register(function($class) { |
|
| 4 | 4 | if (strpos($class, 'SimpleCrud\\') !== 0) { |
| 5 | 5 | return; |
| 6 | 6 | } |
@@ -121,7 +121,6 @@ |
||
| 121 | 121 | /** |
| 122 | 122 | * Retrieves a class name if exists. |
| 123 | 123 | * |
| 124 | - * @param string $name |
|
| 125 | 124 | * |
| 126 | 125 | * @return string|null |
| 127 | 126 | */ |