Completed
Pull Request — develop (#346)
by ANTHONIUS
06:57
created
module/Core/src/Core/Factory/OptionsAbstractFactory.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -174,9 +174,8 @@
 block discarded – undo
174 174
      * Returns FALSE if configuration cannot be found.
175 175
      *
176 176
      * @param string $fullName
177
-     * @param string $normalizedName
178 177
      *
179
-     * @return array|bool
178
+     * @return string
180 179
      */
181 180
     protected function getOptionsConfig($fullName)
182 181
     {
Please login to merge, or discard this patch.
module/Core/src/Core/Mail/TranslatorAwareMessage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
      * </pre>
103 103
      *
104 104
      * @param string $subject
105
-     * @param bool|mixed $translate
105
+     * @param string $translate
106 106
      *
107 107
      * @since 0.19
108 108
      * @since 0.29 Add sprintf support for translation
Please login to merge, or discard this patch.
module/Auth/src/Auth/Listener/MailForgotPassword.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
 
40 40
     public function __construct($options, $mailService, $coreOptions)
41 41
     {
42
-        $this->options=$options;
43
-        $this->mailService=$mailService;
42
+        $this->options = $options;
43
+        $this->mailService = $mailService;
44 44
         $this->coreOptions = $coreOptions;
45 45
     }
46 46
 
@@ -51,15 +51,15 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function __invoke(AuthEvent $e)
53 53
     {
54
-        $siteName=$this->coreOptions->getSiteName();
54
+        $siteName = $this->coreOptions->getSiteName();
55 55
 
56 56
         $user                    = $e->getUser();
57 57
         $userEmail               = $user->info->email;
58 58
         $userName                = $user->info->getDisplayName(false);
59 59
         $resetLink               = $e->getResetLink();
60 60
 
61
-        $fromEmail               =  $this->options->getFromEmail();
62
-        $fromName                =  $this->options->getFromName();
61
+        $fromEmail               = $this->options->getFromEmail();
62
+        $fromName                = $this->options->getFromName();
63 63
 
64 64
         $mail                    = $this->mailService->get('htmltemplate');
65 65
         $mail->user              = $user;
Please login to merge, or discard this patch.
module/Core/src/Core/Log/LoggerAbstractFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function canCreateServiceWithName(ServiceLocatorInterface $services, $name, $requestedName)
86 86
     {
87
-        return $this->canCreate($services,$requestedName);
87
+        return $this->canCreate($services, $requestedName);
88 88
     }
89 89
 
90 90
     /**
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     public function createServiceWithName(ServiceLocatorInterface $services, $name, $requestedName)
99 99
     {
100
-        return $this($services,$requestedName);
100
+        return $this($services, $requestedName);
101 101
     }
102 102
 
103 103
     /**
Please login to merge, or discard this patch.
module/Core/src/Core/Factory/Paginator/RepositoryAbstractFactory.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
      */
146 146
     public function createServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
147 147
     {
148
-       return $this($serviceLocator,$requestedName);
148
+        return $this($serviceLocator,$requestedName);
149 149
     }
150 150
 
151 151
     /**
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -81,10 +81,10 @@  discard block
 block discarded – undo
81 81
         $queryBuilder->find($this->getEntityClassName($requestedName));
82 82
 
83 83
         $filterManager = $services->get('FilterManager');
84
-        $filterName    = 'PaginationQuery/' . $requestedName;
84
+        $filterName    = 'PaginationQuery/'.$requestedName;
85 85
 
86 86
         if ($filterManager->has($filterName)) {
87
-            $filter       = $filterManager->get('PaginationQuery/' . $requestedName);
87
+            $filter       = $filterManager->get('PaginationQuery/'.$requestedName);
88 88
             $queryBuilder = $filter->filter($this->options, $queryBuilder);
89 89
         }
90 90
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      * @param array|null            $options
109 109
      * @return bool
110 110
      */
111
-    public function canCreate(ContainerInterface $container, $requestedName, array $options=null)
111
+    public function canCreate(ContainerInterface $container, $requestedName, array $options = null)
112 112
     {
113 113
         $class = $this->getEntityClassName($requestedName);
114 114
 
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      */
132 132
     public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
133 133
     {
134
-        return $this->canCreate($serviceLocator,$requestedName);
134
+        return $this->canCreate($serviceLocator, $requestedName);
135 135
     }
136 136
 
137 137
     /**
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      */
146 146
     public function createServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
147 147
     {
148
-       return $this($serviceLocator,$requestedName);
148
+       return $this($serviceLocator, $requestedName);
149 149
     }
150 150
 
151 151
     /**
Please login to merge, or discard this patch.