Completed
Push — master ( 207311...06e599 )
by Aimeos
09:29
created
lib/mshoplib/src/MShop/Service/Provider/Delivery/Standard.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
 	 * Returns the configuration attribute definitions of the provider to generate a list of available fields and
100 100
 	 * rules for the value of each field in the administration interface.
101 101
 	 *
102
-	 * @return array List of attribute definitions implementing \Aimeos\MW\Common\Critera\Attribute\Iface
102
+	 * @return \Aimeos\MW\Criteria\Attribute\Iface[] List of attribute definitions implementing \Aimeos\MW\Common\Critera\Attribute\Iface
103 103
 	 */
104 104
 	public function getConfigBE()
105 105
 	{
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Service/Provider/Payment/PayPalExpress.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
 	 * Returns the configuration attribute definitions of the provider to generate a list of available fields and
173 173
 	 * rules for the value of each field in the administration interface.
174 174
 	 *
175
-	 * @return array List of attribute definitions implementing \Aimeos\MW\Common\Critera\Attribute\Iface
175
+	 * @return \Aimeos\MW\Criteria\Attribute\Iface[] List of attribute definitions implementing \Aimeos\MW\Common\Critera\Attribute\Iface
176 176
 	 */
177 177
 	public function getConfigBE()
178 178
 	{
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Service/Provider/Payment/DirectDebit.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -78,10 +78,10 @@  discard block
 block discarded – undo
78 78
 			$address = $basket->getAddress( \Aimeos\MShop\Order\Item\Base\Address\Base::TYPE_PAYMENT );
79 79
 
80 80
 			if( ( $fn = $address->getFirstname() ) !== '' && ( $ln = $address->getLastname() ) !== '' ) {
81
-				$feconfig['directdebit.accountowner']['default'] = $fn . ' ' . $ln;
81
+				$feconfig['directdebit.accountowner']['default'] = $fn.' '.$ln;
82 82
 			}
83 83
 		}
84
-		catch( \Aimeos\MShop\Order\Exception $e ) { ; } // If address isn't available
84
+		catch( \Aimeos\MShop\Order\Exception $e ) {; } // If address isn't available
85 85
 
86 86
 		return $this->getConfigItems( $feconfig );
87 87
 	}
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 			$len = strlen( $value );
120 120
 			$xstr = ( $len > 3 ? str_repeat( 'X', $len - 3 ) : '' );
121 121
 
122
-			$attrItem->setValue( $xstr . substr( $value, -3 ) );
122
+			$attrItem->setValue( $xstr.substr( $value, -3 ) );
123 123
 			$orderServiceItem->setAttributeItem( $attrItem );
124 124
 		}
125 125
 	}
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,9 @@
 block discarded – undo
81 81
 				$feconfig['directdebit.accountowner']['default'] = $fn . ' ' . $ln;
82 82
 			}
83 83
 		}
84
-		catch( \Aimeos\MShop\Order\Exception $e ) { ; } // If address isn't available
84
+		catch( \Aimeos\MShop\Order\Exception $e )
85
+		{
86
+; } // If address isn't available
85 87
 
86 88
 		return $this->getConfigItems( $feconfig );
87 89
 	}
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Service/Provider/Decorator/Time.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,9 @@
 block discarded – undo
114 114
 				$feconfig['time.hourminute']['default'] = $value;
115 115
 			}
116 116
 		}
117
-		catch( \Aimeos\MShop\Order\Exception $e ) { echo $e->getMessage(); } // If service isn't available
117
+		catch( \Aimeos\MShop\Order\Exception $e )
118
+		{
119
+echo $e->getMessage(); } // If service isn't available
118 120
 
119 121
 		return array_merge( $this->getProvider()->getConfigFE( $basket ), $this->getConfigItems( $feconfig ) );
120 122
 	}
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Service/Provider/Decorator/Supplier.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,9 @@
 block discarded – undo
134 134
 				$feconfig['supplier.code']['default'] = array( $value => $address ) + $feconfig['supplier.code']['default'];
135 135
 			}
136 136
 		}
137
-		catch( \Aimeos\MShop\Order\Exception $e ) {} // If service isn't available
137
+		catch( \Aimeos\MShop\Order\Exception $e )
138
+		{
139
+} // If service isn't available
138 140
 
139 141
 		return array_merge( $this->getProvider()->getConfigFE( $basket ), $this->getConfigItems( $feconfig ) );
140 142
 	}
Please login to merge, or discard this patch.