Completed
Pull Request — master (#38)
by
unknown
01:38
created
tests/bootstrap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,10 +6,10 @@
 block discarded – undo
6 6
 define('YII_ENABLE_ERROR_HANDLER', false);
7 7
 define('YII_DEBUG', true);
8 8
 
9
-$_SERVER['SCRIPT_NAME'] = '/' . __DIR__;
9
+$_SERVER['SCRIPT_NAME'] = '/'.__DIR__;
10 10
 $_SERVER['SCRIPT_FILENAME'] = __FILE__;
11 11
 
12
-require_once(__DIR__ . '/../vendor/autoload.php');
13
-require_once(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');
12
+require_once(__DIR__.'/../vendor/autoload.php');
13
+require_once(__DIR__.'/../vendor/yiisoft/yii2/Yii.php');
14 14
 
15 15
 Yii::setAlias('@yii2mod/rbac', dirname(__DIR__));
Please login to merge, or discard this patch.
models/AuthItemModel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
             [['name', 'description', 'data', 'ruleName'], 'trim'],
87 87
             [['name', 'type'], 'required'],
88 88
             ['ruleName', 'checkRule'],
89
-            ['name', 'validateName', 'when' => function () {
89
+            ['name', 'validateName', 'when' => function() {
90 90
                 return $this->getIsNewRecord() || ($this->_item->name != $this->name);
91 91
             }],
92 92
             ['type', 'integer'],
Please login to merge, or discard this patch.
base/ItemController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@
 block discarded – undo
192 192
 	 */
193 193
 	public function getViewPath(): string
194 194
 	{
195
-		return $this->module->getViewPath() . DIRECTORY_SEPARATOR . 'item';
195
+		return $this->module->getViewPath().DIRECTORY_SEPARATOR.'item';
196 196
 	}
197 197
 
198 198
 	/**
Please login to merge, or discard this patch.