Passed
Push — master ( 11848a...152feb )
by nguereza
13:16 queued 12s
created
app/Validator/PermissionValidator.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -20,18 +20,18 @@  discard block
 block discarded – undo
20 20
 class PermissionValidator extends AbstractValidator
21 21
 {
22 22
     /**
23
-    * Create new instance
24
-    * @param PermissionParam<TEntity> $param
25
-    * @param Lang $lang
26
-    */
23
+     * Create new instance
24
+     * @param PermissionParam<TEntity> $param
25
+     * @param Lang $lang
26
+     */
27 27
     public function __construct(protected PermissionParam $param, Lang $lang)
28 28
     {
29 29
         parent::__construct($lang);
30 30
     }
31 31
 
32 32
     /**
33
-    * {@inheritdoc}
34
-    */
33
+     * {@inheritdoc}
34
+     */
35 35
     public function setValidationData(): void
36 36
     {
37 37
         $this->addData('code', $this->param->getCode());
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-    * {@inheritdoc}
43
-    */
42
+     * {@inheritdoc}
43
+     */
44 44
     public function setValidationRules(): void
45 45
     {
46 46
         $this->addRules('code', [
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,15 +17,13 @@
 block discarded – undo
17 17
 * @package Platine\App\Validator
18 18
 * @template TEntity as \Platine\Orm\Entity
19 19
 */
20
-class PermissionValidator extends AbstractValidator
21
-{
20
+class PermissionValidator extends AbstractValidator {
22 21
     /**
23 22
     * Create new instance
24 23
     * @param PermissionParam<TEntity> $param
25 24
     * @param Lang $lang
26 25
     */
27
-    public function __construct(protected PermissionParam $param, Lang $lang)
28
-    {
26
+    public function __construct(protected PermissionParam $param, Lang $lang) {
29 27
         parent::__construct($lang);
30 28
     }
31 29
 
Please login to merge, or discard this patch.