Completed
Push — master ( 5c7245...c04fc7 )
by Craig
06:16
created
src/lib/Zikula/Core/Response/Ajax/AbstractBaseResponse.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
     /**
100 100
      * Generates payload.
101 101
      *
102
-     * @return array
102
+     * @return string
103 103
      */
104 104
     protected function generatePayload()
105 105
     {
Please login to merge, or discard this patch.
src/system/BlocksModule/Api/BlockApi.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 
83 83
     /**
84 84
      * Get an unfiltered array of block entities that have been assigned to a block position.
85
-     * @param $positionName
85
+     * @param string $positionName
86 86
      * @return array
87 87
      */
88 88
     public function getBlocksByPosition($positionName)
Please login to merge, or discard this patch.
src/system/BlocksModule/Entity/BlockEntity.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -277,7 +277,7 @@
 block discarded – undo
277 277
     /**
278 278
      * set the filters for the block
279 279
      *
280
-     * @param array $filter the blocks's filters
280
+     * @param array $filters the blocks's filters
281 281
      */
282 282
     public function setFilters($filters)
283 283
     {
Please login to merge, or discard this patch.
src/system/UsersModule/Entity/UserAttributeEntity.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
     /**
76 76
      * set the user item
77 77
      *
78
-     * @param User $user the user item
78
+     * @param integer $user the user item
79 79
      */
80 80
     public function setUser($user)
81 81
     {
Please login to merge, or discard this patch.
src/system/AdminModule/Helper/UpdateCheckHelper.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@
 block discarded – undo
208 208
             if (!$fp) {
209 209
                 return false;
210 210
             } else {
211
-                $out = "GET $path_query? HTTP/1.1\r\n";
211
+                $out = "get $path_query? HTTP/1.1\r\n";
212 212
                 $out .= "User-Agent: $userAgent\r\n";
213 213
                 $out .= "Referer: $ref\r\n";
214 214
                 $out .= "Host: $urlArray[host]\r\n";
Please login to merge, or discard this patch.
src/system/BlocksModule/Tests/Helper/InstallerHelperTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
             ->getMock();
55 55
         $kernel
56 56
             ->method('getModule')
57
-            ->will($this->returnCallback(function ($moduleName) {
57
+            ->will($this->returnCallback(function($moduleName) {
58 58
                 if ($moduleName == 'ExceptionModule') {
59 59
                     // mocks situation where module is not namespaced.
60 60
                     throw new \Exception();
Please login to merge, or discard this patch.
src/system/ExtensionsModule/Tests/Helper/ComposerValidationHelperTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,6 +76,6 @@
 block discarded – undo
76 76
 
77 77
     private function getSplFileInfo($file)
78 78
     {
79
-        return new SplFileInfo(realpath(__DIR__ . '/../Fixtures/'. $file), '/../Fixtures', '/../Fixtures/' . $file);
79
+        return new SplFileInfo(realpath(__DIR__ . '/../Fixtures/' . $file), '/../Fixtures', '/../Fixtures/' . $file);
80 80
     }
81 81
 }
Please login to merge, or discard this patch.
src/system/ZAuthModule/Form/Type/ConfigType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
             /**
130 130
              * Form Listeners
131 131
              */
132
-            ->addEventListener(FormEvents::POST_SUBMIT, function (FormEvent $event) {
132
+            ->addEventListener(FormEvents::POST_SUBMIT, function(FormEvent $event) {
133 133
                 $data = $event->getData();
134 134
                 // clear anti-spam answer if there is no question
135 135
                 if (empty($data[ZAuthConstant::MODVAR_REGISTRATION_ANTISPAM_QUESTION])) {
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
             'translator' => null,
155 155
             'constraints' => [
156 156
                 new Callback([
157
-                    'callback' => function ($data, ExecutionContextInterface $context) {
157
+                    'callback' => function($data, ExecutionContextInterface $context) {
158 158
                         if (!empty($data[ZAuthConstant::MODVAR_REGISTRATION_ANTISPAM_QUESTION]) && empty($data[ZAuthConstant::MODVAR_REGISTRATION_ANTISPAM_ANSWER])) {
159 159
                             $context->buildViolation(__('If a spam protection question is provided, then a spam protection answer must also be provided.'))
160 160
                                 ->atPath(ZAuthConstant::MODVAR_REGISTRATION_ANTISPAM_ANSWER)
Please login to merge, or discard this patch.
src/system/ZAuthModule/Form/Type/LostPasswordType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
         $resolver->setDefaults([
79 79
             'translator' => null,
80 80
             'includeReset' => false,
81
-            'constraints' => new Callback(['callback' => function ($data, ExecutionContextInterface $context) use ($resolver) {
81
+            'constraints' => new Callback(['callback' => function($data, ExecutionContextInterface $context) use ($resolver) {
82 82
                 if (!isset($data['pass']) && empty($data['uname']) && empty($data['email'])) {
83 83
                     $context->buildViolation(__('Error! You must enter either your username or email address.'))
84 84
                         ->addViolation();
Please login to merge, or discard this patch.