Passed
Push — develop ( 35fea5...ef6a2b )
by nguereza
03:25
created
src/Template/Tag/PermissionTag.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -67,8 +67,8 @@  discard block
 block discarded – undo
67 67
     protected string $permission;
68 68
 
69 69
     /**
70
-    * {@inheritdoc}
71
-    */
70
+     * {@inheritdoc}
71
+     */
72 72
     public function __construct(string $markup, &$tokens, Parser $parser)
73 73
     {
74 74
         $lexer = new Lexer('/(\w+)/');
@@ -84,8 +84,8 @@  discard block
 block discarded – undo
84 84
     }
85 85
 
86 86
     /**
87
-    * {@inheritdoc}
88
-    */
87
+     * {@inheritdoc}
88
+     */
89 89
     public function render(Context $context): string
90 90
     {
91 91
         if ($context->hasKey($this->permission)) {
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@  discard block
 block discarded – undo
58 58
  * @class PermissionTag
59 59
  * @package Platine\Framework\Template\Tag
60 60
  */
61
-class PermissionTag extends AbstractBlock
62
-{
61
+class PermissionTag extends AbstractBlock {
63 62
     /**
64 63
      * The code of the permission
65 64
      * @var string
@@ -69,8 +68,7 @@  discard block
 block discarded – undo
69 68
     /**
70 69
     * {@inheritdoc}
71 70
     */
72
-    public function __construct(string $markup, &$tokens, Parser $parser)
73
-    {
71
+    public function __construct(string $markup, &$tokens, Parser $parser) {
74 72
         $lexer = new Lexer('/(\w+)/');
75 73
         if ($lexer->match($markup)) {
76 74
             $this->permission = $lexer->getStringMatch(1);
Please login to merge, or discard this patch.
src/Template/Tag/AuthTag.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,8 @@
 block discarded – undo
58 58
 class AuthTag extends AbstractBlock
59 59
 {
60 60
     /**
61
-    * {@inheritdoc}
62
-    */
61
+     * {@inheritdoc}
62
+     */
63 63
     public function render(Context $context): string
64 64
     {
65 65
         /** @var AuthenticationInterface $authentication */
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * @class AuthTag
56 56
  * @package Platine\Framework\Template\Tag
57 57
  */
58
-class AuthTag extends AbstractBlock
59
-{
58
+class AuthTag extends AbstractBlock {
60 59
     /**
61 60
     * {@inheritdoc}
62 61
     */
Please login to merge, or discard this patch.