Completed
Push — master ( eccdf7...a581ed )
by Mario
03:04
created
Bootstrap.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -532,7 +532,7 @@  discard block
 block discarded – undo
532 532
      *
533 533
      * @param array $orderDataRaw
534 534
      * @param string $type
535
-     * @return bool|KlarnaAddr
535
+     * @return KlarnaAddr
536 536
      */
537 537
     protected function getKlarnaAddrByRawOrderData($orderDataRaw, $type)
538 538
     {
@@ -1710,7 +1710,7 @@  discard block
 block discarded – undo
1710 1710
     /**
1711 1711
      * Creates and returns the klarna client for an event.
1712 1712
      *
1713
-     * @return \Klarna_Checkout_Connector
1713
+     * @return Klarna_Checkout_ConnectorInterface
1714 1714
      */
1715 1715
     public function onInitResourceKlarnaCheckoutConnector()
1716 1716
     {
@@ -1760,7 +1760,7 @@  discard block
 block discarded – undo
1760 1760
 
1761 1761
     /**
1762 1762
      * @param string $requiredVersion
1763
-     * @return bool|mixed
1763
+     * @return boolean
1764 1764
      */
1765 1765
     protected function assertMinimumVersion($requiredVersion)
1766 1766
     {
@@ -1867,7 +1867,7 @@  discard block
 block discarded – undo
1867 1867
      * Helper method to get the config whether or not to show the login-panel in the klarna-checkout.
1868 1868
      *
1869 1869
      * @param Enlight_Config $config
1870
-     * @param $userLoggedIn
1870
+     * @param boolean $userLoggedIn
1871 1871
      * @return bool
1872 1872
      */
1873 1873
     private function getShowLoginConfig($config, $userLoggedIn)
@@ -1927,7 +1927,7 @@  discard block
 block discarded – undo
1927 1927
      * Helper method to get the correct order for the elements
1928 1928
      *
1929 1929
      * @param $config Enlight_Config
1930
-     * @return array Array with the order of the elements
1930
+     * @return string[] Array with the order of the elements
1931 1931
      */
1932 1932
     private function getPositionOrder($config)
1933 1933
     {
@@ -2232,7 +2232,7 @@  discard block
 block discarded – undo
2232 2232
     /**
2233 2233
      * @param Shopware\Models\Payment\Payment $payment
2234 2234
      * @param $basket
2235
-     * @return bool
2235
+     * @return double
2236 2236
      */
2237 2237
     private function getFee($payment, $basket)
2238 2238
     {
Please login to merge, or discard this patch.
Controllers/Backend/PaymentKlarna.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,6 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
     /**
45 45
      * {@inheritdoc}
46
+     * @param string $name
46 47
      */
47 48
     public function get($name)
48 49
     {
@@ -117,6 +118,9 @@  discard block
 block discarded – undo
117 118
         return $shop;
118 119
     }
119 120
 
121
+    /**
122
+     * @param string $statusType
123
+     */
120 124
     private function getOrderPaymentStatus($statusType)
121 125
     {
122 126
         $paymentStatus = $this->plugin->Config()->get($statusType);
@@ -633,7 +637,7 @@  discard block
 block discarded – undo
633 637
 
634 638
 
635 639
     /**
636
-     * @return array
640
+     * @return string[]
637 641
      */
638 642
     public function getWhitelistedCSRFActions()
639 643
     {
Please login to merge, or discard this patch.