Completed
Pull Request — master (#76)
by
unknown
24:21
created
src/Exceptions/NumberParseException.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -5,17 +5,17 @@
 block discarded – undo
5 5
 
6 6
 class NumberParseException extends Exception implements PhoneNumberException
7 7
 {
8
-    /**
9
-     * Country specification required static constructor.
10
-     *
11
-     * @param string $number
12
-     * @return static
13
-     */
14
-    public static function countryRequired($number)
15
-    {
16
-        return new static(
17
-            libNumberParseException::INVALID_COUNTRY_CODE,
18
-            'Country specification for number "' . $number . '" required.'
19
-        );
20
-    }
8
+	/**
9
+	 * Country specification required static constructor.
10
+	 *
11
+	 * @param string $number
12
+	 * @return static
13
+	 */
14
+	public static function countryRequired($number)
15
+	{
16
+		return new static(
17
+			libNumberParseException::INVALID_COUNTRY_CODE,
18
+			'Country specification for number "' . $number . '" required.'
19
+		);
20
+	}
21 21
 }
22 22
\ No newline at end of file
Please login to merge, or discard this patch.
src/Exceptions/InvalidParameterException.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -5,27 +5,27 @@
 block discarded – undo
5 5
 
6 6
 class InvalidParameterException extends Exception implements PhoneNumberException
7 7
 {
8
-    /**
9
-     * Ambiguous parameter static constructor.
10
-     *
11
-     * @param string $parameter
12
-     * @return static
13
-     */
14
-    public static function ambiguous($parameter)
15
-    {
16
-        return new static('Ambiguous phone validation parameter: "' . $parameter . '". This parameter is recognized as an input field and as a phone type. Please rename the input field.');
17
-    }
8
+	/**
9
+	 * Ambiguous parameter static constructor.
10
+	 *
11
+	 * @param string $parameter
12
+	 * @return static
13
+	 */
14
+	public static function ambiguous($parameter)
15
+	{
16
+		return new static('Ambiguous phone validation parameter: "' . $parameter . '". This parameter is recognized as an input field and as a phone type. Please rename the input field.');
17
+	}
18 18
 
19
-    /**
20
-     * Invalid parameters static constructor.
21
-     *
22
-     * @param array|Collection $parameters
23
-     * @return static
24
-     */
25
-    public static function parameters($parameters)
26
-    {
27
-        $parameters = Collection::make($parameters);
19
+	/**
20
+	 * Invalid parameters static constructor.
21
+	 *
22
+	 * @param array|Collection $parameters
23
+	 * @return static
24
+	 */
25
+	public static function parameters($parameters)
26
+	{
27
+		$parameters = Collection::make($parameters);
28 28
 
29
-        return new static('Invalid phone validation parameters: "' . $parameters->implode(',') . '".');
30
-    }
29
+		return new static('Invalid phone validation parameters: "' . $parameters->implode(',') . '".');
30
+	}
31 31
 }
32 32
\ No newline at end of file
Please login to merge, or discard this patch.