Completed
Branch master (b52552)
by Malte
06:24
created
examples/custom_attachment_mask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      * New custom method which can be called through a mask
17 17
      * @return string
18 18
      */
19
-    public function token(){
19
+    public function token() {
20 20
         return implode('-', [$this->id, $this->getMessage()->getUid(), $this->name]);
21 21
     }
22 22
 
Please login to merge, or discard this patch.
examples/custom_message_mask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      * New custom method which can be called through a mask
17 17
      * @return string
18 18
      */
19
-    public function my_token(){
19
+    public function my_token() {
20 20
         return implode('-', [$this->message_id, $this->uid, $this->message_no]);
21 21
     }
22 22
 
Please login to merge, or discard this patch.
src/Providers/LaravelServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function boot() {
32 32
         $this->publishes([
33
-                             __DIR__ . '/../config/imap.php' => config_path('imap.php'),
33
+                             __DIR__.'/../config/imap.php' => config_path('imap.php'),
34 34
                          ]);
35 35
     }
36 36
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     private function setVendorConfig() {
62 62
 
63 63
         $config_key = 'imap';
64
-        $path = __DIR__ . '/../config/' . $config_key . '.php';
64
+        $path = __DIR__.'/../config/'.$config_key.'.php';
65 65
 
66 66
         $vendor_config = require $path;
67 67
         $config = $this->app['config']->get($config_key, []);
Please login to merge, or discard this patch.
src/Commands/ImapIdleCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      * Callback used for the idle command and triggered for every new received message
54 54
      * @param Message $message
55 55
      */
56
-    public function onNewMessage(Message $message){
56
+    public function onNewMessage(Message $message) {
57 57
         $this->info("New message received: ".$message->subject);
58 58
     }
59 59
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     public function handle() {
66 66
         if (is_array($this->account)) {
67 67
             $client = ClientFacade::make($this->account);
68
-        }else{
68
+        } else {
69 69
             $client = ClientFacade::account($this->account);
70 70
         }
71 71
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         }
89 89
 
90 90
         try {
91
-            $folder->idle(function($message){
91
+            $folder->idle(function($message) {
92 92
                 $this->onNewMessage($message);
93 93
             });
94 94
         } catch (\Exception $e) {
Please login to merge, or discard this patch.