Passed
Push — master ( 2b9295...73b866 )
by Corrado
02:21
created
src/EmailChecker.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -112,71 +112,71 @@
 block discarded – undo
112 112
 	}
113 113
 
114 114
 	/**
115
-    * Get the value of email.
116
-    *
117
-    * @return string
118
-    */
115
+	 * Get the value of email.
116
+	 *
117
+	 * @return string
118
+	 */
119 119
 	public function getEmail()
120 120
 	{
121 121
 		return $this->email;
122 122
 	}
123 123
 
124 124
 	/**
125
-    * Get the value of sender.
126
-    *
127
-    * @return string
128
-    */
125
+	 * Get the value of sender.
126
+	 *
127
+	 * @return string
128
+	 */
129 129
 	public function getSender()
130 130
 	{
131 131
 		return $this->sender ?: "[email protected]";
132 132
 	}
133 133
 	
134 134
 	/**
135
-    * Gets the Sets the stream timeout.
136
-    *
137
-    * @return integer
138
-    */
139
-    public function getTimeout()
140
-    {
141
-        return $this->timeout;
142
-    } 
143
-
144
-    /**
145
-    * Sets the Sets the stream timeout.
146
-    *
147
-    * @param integer $timeout the timeout
148
-    *
149
-    * @return self
150
-    */
151
-    public function setTimeout($timeout)
152
-    {
153
-        if (is_int($timeout)) {
154
-        	$this->timeout = $timeout;
155
-        }        
135
+	 * Gets the Sets the stream timeout.
136
+	 *
137
+	 * @return integer
138
+	 */
139
+	public function getTimeout()
140
+	{
141
+		return $this->timeout;
142
+	} 
143
+
144
+	/**
145
+	 * Sets the Sets the stream timeout.
146
+	 *
147
+	 * @param integer $timeout the timeout
148
+	 *
149
+	 * @return self
150
+	 */
151
+	public function setTimeout($timeout)
152
+	{
153
+		if (is_int($timeout)) {
154
+			$this->timeout = $timeout;
155
+		}        
156 156
 		return $this;
157
-    }	
157
+	}	
158 158
 
159 159
 	/**
160
-    * This function extract the mx record from domain
161
-    *
162
-    * @return sorciulus\EmailChecker\MxChecker
163
-    *
164
-    * @throws MxCheckerException if domain is not avaible
165
-    */
160
+	 * This function extract the mx record from domain
161
+	 *
162
+	 * @return sorciulus\EmailChecker\MxChecker
163
+	 *
164
+	 * @throws MxCheckerException if domain is not avaible
165
+	 */
166 166
 	private function checkDomain(){
167 167
 
168 168
 		return new MxChecker($this->getDomain());		 
169 169
 	}
170 170
 
171 171
 	/**
172
-    * This function check email is valid from SMTP command
173
-    *
174
-    * @param  object MxChecker $recordMx
175
-    *
176
-    * @return object SmtpChecker 
177
-    *
178
-    * @throws SmtpCheckerException if SMTP return error
179
-    */
172
+	 * This function check email is valid from SMTP command
173
+	 *
174
+	 * @param  object MxChecker $recordMx
175
+	 *
176
+	 * @return object SmtpChecker 
177
+	 *
178
+	 * @throws SmtpCheckerException if SMTP return error
179
+	 */
180 180
 	private function checkSMTP(MxInterface $recordMx)
181 181
 	{
182 182
 		$smtp = new SmtpChecker(
Please login to merge, or discard this patch.
src/Laravel/Facades/EmailChecker.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@
 block discarded – undo
6 6
 
7 7
 class EmailChecker extends Facade
8 8
 {
9
-    /**
10
-     * Get the registered name of the component.
11
-     *
12
-     * @return string
13
-     */
14
-    protected static function getFacadeAccessor()
15
-    {
16
-        return 'sorciulus\EmailChecker\EmailChecker';
17
-    }
9
+	/**
10
+	 * Get the registered name of the component.
11
+	 *
12
+	 * @return string
13
+	 */
14
+	protected static function getFacadeAccessor()
15
+	{
16
+		return 'sorciulus\EmailChecker\EmailChecker';
17
+	}
18 18
 }
19 19
\ No newline at end of file
Please login to merge, or discard this patch.
src/Laravel/EmailCheckerServiceProvider.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -7,15 +7,15 @@
 block discarded – undo
7 7
 
8 8
 class EmailCheckerServiceProvider extends ServiceProvider
9 9
 {
10
-    /**
11
-     * Register bindings in the container.
12
-     *
13
-     * @return void
14
-     */
15
-    public function register()
16
-    {
17
-        $this->app->singleton(EmailChecker::class, function ($app) {
18
-            return new EmailChecker();
19
-        });
20
-    }
10
+	/**
11
+	 * Register bindings in the container.
12
+	 *
13
+	 * @return void
14
+	 */
15
+	public function register()
16
+	{
17
+		$this->app->singleton(EmailChecker::class, function ($app) {
18
+			return new EmailChecker();
19
+		});
20
+	}
21 21
 }
22 22
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     public function register()
16 16
     {
17
-        $this->app->singleton(EmailChecker::class, function ($app) {
17
+        $this->app->singleton(EmailChecker::class, function($app) {
18 18
             return new EmailChecker();
19 19
         });
20 20
     }
Please login to merge, or discard this patch.