Completed
Push — master ( c2f2c6...3bc9a2 )
by Jean
03:13
created
src/Api/DataTransfer/SessionParametersFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     /**
110 110
      * @param string $parameter
111 111
      * @param mixed $defaultValue
112
-     * @return mixed
112
+     * @return double
113 113
      */
114 114
     private function getValue($parameter, $defaultValue = null)
115 115
     {
Please login to merge, or discard this patch.
src/Api/Http/Transport.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     }
88 88
 
89 89
     /**
90
-     * @param $url
90
+     * @param string $url
91 91
      * @param $apiKey
92 92
      */
93 93
     private function setPollUrl($url, $apiKey)
Please login to merge, or discard this patch.
src/Command/Entity/Parameter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     const FILE = 'file';
11 11
     const FROM = 'from';
12 12
     const TO = 'to';
13
-    const DEPARTURE_DATE= 'departure';
13
+    const DEPARTURE_DATE = 'departure';
14 14
     const RETURN_DATE = 'arrival';
15 15
     const MAX_PRICE = 'max-price';
16 16
     const API_KEY = 'api-key';
Please login to merge, or discard this patch.
src/Log/ArrayLogger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,6 +73,6 @@
 block discarded – undo
73 73
 
74 74
     private function format($message, $color = self::COLOR_GREEN)
75 75
     {
76
-        return chr(27) . "$color$message" . chr(27). self::COLOR_NONE;
76
+        return chr(27) . "$color$message" . chr(27) . self::COLOR_NONE;
77 77
     }
78 78
 }
Please login to merge, or discard this patch.
src/Api/Processor/LivePricePostProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
         $deals = [];
94 94
         $resultCount = 1;
95 95
         foreach ($cheaperItineraries as $itinerary) {
96
-            $this->logger->debug('Verifying itinerary #'. $resultCount++);
96
+            $this->logger->debug('Verifying itinerary #' . $resultCount++);
97 97
 
98 98
             if (!isset($itinerary->PricingOptions[0])) {
99 99
                 $this->logger->debug('No PricingOptions found.');
Please login to merge, or discard this patch.
src/Notifier/Slack/Notifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         foreach ($deals as $deal) {
64 64
             $deal = (object) $deal;
65 65
             $message .= '_' . $deal->agent . '_ ';
66
-            $message .= '*' . $parameters->currency . ' ' .  number_format($deal->price) . '* ';
66
+            $message .= '*' . $parameters->currency . ' ' . number_format($deal->price) . '* ';
67 67
 
68 68
             if ($deal->deepLinkUrl) {
69 69
                 $message .= "<$deal->deepLinkUrl|buy>" . PHP_EOL;
Please login to merge, or discard this patch.
src/Notifier/NotifiableInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
 
10 10
 interface NotifiableInterface
11 11
 {
12
+    /**
13
+     * @return void
14
+     */
12 15
     public function notify(array $deals, SessionParameters $sessionParameters);
13 16
 
14 17
     public function createNotification(array $deals, SessionParameters $parameters);
Please login to merge, or discard this patch.
src/Validator/ValidatorInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,13 +8,14 @@
 block discarded – undo
8 8
 interface ValidatorInterface
9 9
 {
10 10
     /**
11
-     * @param $instance
11
+     * @param \Symfony\Component\Console\Input\InputInterface $instance
12 12
      * @return $this
13 13
      */
14 14
     public function setTarget($instance);
15 15
 
16 16
     /**
17 17
      * @throw ValidationException
18
+     * @return void
18 19
      */
19 20
     public function validate();
20 21
 }
Please login to merge, or discard this patch.