Completed
Push — master ( 9ab2bb...51a449 )
by
unknown
03:01
created
Form/Type/SubscriptionEditType.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
             'invalid_message' => 'paywall.manage.error.currency',
31 31
             'required' => true,
32 32
         ))
33
-         ->add('type', 'choice', array(
33
+            ->add('type', 'choice', array(
34 34
             'label' => 'paywall.manage.label.paymenttype',
35 35
             'choices' => array(
36 36
                 'P' => 'paywall.manage.label.paid',
Please login to merge, or discard this patch.
EventListener/PermissionsListener.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -15,30 +15,30 @@  discard block
 block discarded – undo
15 15
 class PermissionsListener
16 16
 {
17 17
     /**
18
-      * TranslatorInterface.
19
-      *
20
-      * @var Translator
21
-      */
22
-     protected $translator;
18
+     * TranslatorInterface.
19
+     *
20
+     * @var Translator
21
+     */
22
+        protected $translator;
23 23
 
24
-     /**
25
-      * Construct.
26
-      *
27
-      * @param TranslatorInterface $translator Translator object
28
-      */
29
-     public function __construct(TranslatorInterface $translator)
30
-     {
31
-         $this->translator = $translator;
32
-     }
24
+        /**
25
+         * Construct.
26
+         *
27
+         * @param TranslatorInterface $translator Translator object
28
+         */
29
+        public function __construct(TranslatorInterface $translator)
30
+        {
31
+            $this->translator = $translator;
32
+        }
33 33
 
34
-     /**
35
-      * Register plugin permissions in Newscoop ACL.
36
-      *
37
-      * @param PluginPermissionsEvent $event
38
-      */
39
-     public function registerPermissions(PluginPermissionsEvent $event)
40
-     {
41
-         $event->registerPermissions($this->translator->trans('paywall.title'), array(
34
+        /**
35
+         * Register plugin permissions in Newscoop ACL.
36
+         *
37
+         * @param PluginPermissionsEvent $event
38
+         */
39
+        public function registerPermissions(PluginPermissionsEvent $event)
40
+        {
41
+            $event->registerPermissions($this->translator->trans('paywall.title'), array(
42 42
             Permissions::SUBSCRIPTION_ADD => $this->translator->trans('paywall.permissions.add'),
43 43
             Permissions::SUBSCRIPTIONS_MANAGE => $this->translator->trans('paywall.permissions.manage'),
44 44
             Permissions::SUBSCRIPTIONS_VIEW => $this->translator->trans('paywall.permissions.list'),
@@ -52,6 +52,6 @@  discard block
 block discarded – undo
52 52
             Permissions::PAYMENTS_VIEW => $this->translator->trans('paywall.permissions.payments.main'),
53 53
             Permissions::PAYMENTS_MANAGE => $this->translator->trans('paywall.permissions.payments.manage'),
54 54
             Permissions::SIDEBAR => $this->translator->trans('paywall.permissions.sidebar'),
55
-         ));
56
-     }
55
+            ));
56
+        }
57 57
 }
Please login to merge, or discard this patch.