Test Setup Failed
Branch master (24c563)
by Daniel
02:09
created
src/Traits/HasHeaders.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,11 +10,11 @@
 block discarded – undo
10 10
 	/**
11 11
 	 * Gets a single header from an existing email by name.
12 12
 	 *
13
-	 * @param $headerName
13
+	 * @param string $headerName
14 14
 	 *
15 15
 	 * @param string $regex if this is set, value will be evaluated with the give regular expression.
16 16
 	 *
17
-	 * @return null|string|array
17
+	 * @return string|null
18 18
 	 */
19 19
 	public function getHeader( $headerName, $regex = null )
20 20
 	{
Please login to merge, or discard this patch.
src/GmailConnection.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -156,6 +156,9 @@
 block discarded – undo
156 156
 		];
157 157
 	}
158 158
 
159
+	/**
160
+	 * @param string $string
161
+	 */
159 162
 	public function config( $string = null, $email = null )
160 163
 	{
161 164
 		$email = $email ?: $this->emailAddress;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Google_Client;
6 6
 use Google_Service_Gmail;
7 7
 use Illuminate\Container\Container;
8
-use Illuminate\Config\Repository as Config;
9 8
 use Illuminate\Support\Facades\Storage;
10 9
 use Illuminate\Support\Facades\Request;
11 10
 
Please login to merge, or discard this patch.
tests/LaravelGmailTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Dacastro4\LaravelGmail\Facade\LaravelGmail;
4 3
 use Dacastro4\LaravelGmail\LaravelGmailClass;
5 4
 use Tests\TestCase;
6 5
 
Please login to merge, or discard this patch.
src/Traits/Modifiable.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Dacastro4\LaravelGmail\Services\Message\Mail;
6 6
 use Google_Service_Gmail;
7
-use Google_Service_Gmail_ModifyMessageRequest;
8 7
 
9 8
 /**
10 9
  * @property Google_Service_Gmail $service
Please login to merge, or discard this patch.
src/Traits/ModifiesLabels.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 	/**
53 53
 	 * Adds a single label to the request
54 54
 	 *
55
-	 * @param $label
55
+	 * @param string $label
56 56
 	 *
57 57
 	 * @return Mail
58 58
 	 */
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 	/**
67 67
 	 * Removes a single label from the request
68 68
 	 *
69
-	 * @param $label
69
+	 * @param string $label
70 70
 	 *
71 71
 	 * @return Mail
72 72
 	 */
Please login to merge, or discard this patch.
src/Traits/Replyable.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -317,6 +317,9 @@
 block discarded – undo
317 317
 		return rtrim( strtr( base64_encode( $data ), '+/', '-_' ), '=' );
318 318
 	}
319 319
 
320
+	/**
321
+	 * @param string $name
322
+	 */
320 323
 	private function emailList( $list, $name = null )
321 324
 	{
322 325
 		if ( is_array( $list ) ) {
Please login to merge, or discard this patch.