Completed
Pull Request — master (#24)
by Rafał
07:17
created
Controller/UserOrderController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -211,6 +211,9 @@
 block discarded – undo
211 211
         return $em->getRepository('Newscoop\PaywallBundle\Entity\Order');
212 212
     }
213 213
 
214
+    /**
215
+     * @param string $locale
216
+     */
214 217
     private function getActiveSubscriptions($locale)
215 218
     {
216 219
         $em = $this->get('em');
Please login to merge, or discard this patch.
Provider/PaymentMethodProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
  */
8 8
 namespace Newscoop\PaywallBundle\Provider;
9 9
 
10
-use Newscoop\PaywallBundle\Entity\Repository\GatewayRepository;
11 10
 use Newscoop\PaywallBundle\Adapter\AdapterFactory;
12 11
 use Doctrine\Common\Persistence\ObjectRepository;
13 12
 
Please login to merge, or discard this patch.
Services/PaywallService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
     /**
358 358
      * Gets all available sections by given language Id.
359 359
      *
360
-     * @param int $language Language Id to search for
360
+     * @param int $languageId Language Id to search for
361 361
      *
362 362
      * @return array
363 363
      */
@@ -530,7 +530,7 @@  discard block
 block discarded – undo
530 530
      *
531 531
      * @param UserSubscription $userSubscription User subscription
532 532
      *
533
-     * @return DateTime
533
+     * @return null|\DateTime
534 534
      */
535 535
     public function getExpirationDate(UserSubscription $userSubscription)
536 536
     {
Please login to merge, or discard this patch.
Resources/smartyPlugins/block.subscribe_form.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
             }
99 99
 
100 100
             if ($options !== '') {
101
-                $html  .= '<select name="batchorder['.$subscription['id'].']"><option value="">'.$p_params['choose_text'].'</option>'.$options.'</select><br>';
101
+                $html .= '<select name="batchorder['.$subscription['id'].']"><option value="">'.$p_params['choose_text'].'</option>'.$options.'</select><br>';
102 102
             }
103 103
         }
104 104
     }
Please login to merge, or discard this patch.