Completed
Push — master ( 89b72c...f0a079 )
by Propa
06:00
created
src/PhoneValidator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
 	 */
146 146
 	protected function checkCountries($attribute)
147 147
 	{
148
-		$countryField = (is_null($this->countryField) ? $attribute . '_country' : $this->countryField);
148
+		$countryField = (is_null($this->countryField) ? $attribute.'_country' : $this->countryField);
149 149
 
150 150
 		if ($value = $this->isInputField($countryField)) {
151 151
 			$this->countries = array($value);
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
 	{
208 208
 		// Transform types to their namespaced class constant.
209 209
 		array_walk($types, function(&$type) {
210
-			$type = constant('\libphonenumber\PhoneNumberType::' . $type);
210
+			$type = constant('\libphonenumber\PhoneNumberType::'.$type);
211 211
 		});
212 212
 
213 213
 		// Add in the unsure number type if applicable.
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
 		// Legacy support.
253 253
 		$type = ($type == 'LANDLINE' ? 'FIXED_LINE' : $type);
254 254
 
255
-		return defined('\libphonenumber\PhoneNumberType::' . $type);
255
+		return defined('\libphonenumber\PhoneNumberType::'.$type);
256 256
 	}
257 257
 
258 258
 }
Please login to merge, or discard this patch.