Completed
Pull Request — master (#52)
by Rafał
30:27
created
src/PH/Bundle/CoreBundle/Doctrine/ORM/SubscriptionRepository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@
 block discarded – undo
40 40
         ;
41 41
     }
42 42
 
43
+    /**
44
+     * @param \Doctrine\ORM\QueryBuilder $queryBuilder
45
+     */
43 46
     public function applyCustomCriteria($queryBuilder, $criteria): void
44 47
     {
45 48
         foreach ((array) $criteria as $key => $criterion) {
Please login to merge, or discard this patch.
src/PH/Component/Core/Model/Subscription.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
             return null;
115 115
         }
116 116
 
117
-        $payment = $this->payments->filter(function (PaymentInterface $payment) use ($state) {
117
+        $payment = $this->payments->filter(function(PaymentInterface $payment) use ($state) {
118 118
             return null === $state || $payment->getState() === $state;
119 119
         })->last();
120 120
 
Please login to merge, or discard this patch.