@@ -73,7 +73,7 @@ |
||
| 73 | 73 | // unique validator |
| 74 | 74 | $this->addValidator('key') |
| 75 | 75 | ->callback( |
| 76 | - function () { |
|
| 76 | + function() { |
|
| 77 | 77 | return !$this->getTable()->findRowWhere(['key' => $this->key, 'namespace' => $this->namespace]); |
| 78 | 78 | }, |
| 79 | 79 | 'Key name is already exists' |