Completed
Branch master (48991c)
by Marcel
06:45
created
src/Mailer.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -44,6 +44,9 @@  discard block
 block discarded – undo
44 44
         });
45 45
     }
46 46
 
47
+    /**
48
+     * @param Mailable $mailable
49
+     */
47 50
     protected function getMailableProperty($mailable, string $property)
48 51
     {
49 52
         $reflection = new ReflectionClass($mailable);
@@ -54,6 +57,9 @@  discard block
 block discarded – undo
54 57
         return $property->getValue($mailable);
55 58
     }
56 59
 
60
+    /**
61
+     * @return string
62
+     */
57 63
     protected function getMailableViewFile(Mailable $mailable)
58 64
     {
59 65
         if (!is_null($markdown = $this->getMailableProperty($mailable, 'markdown'))) {
@@ -68,6 +74,9 @@  discard block
 block discarded – undo
68 74
         return View::make($viewFile);
69 75
     }
70 76
 
77
+    /**
78
+     * @param \Illuminate\Contracts\View\View $view
79
+     */
71 80
     protected function getMailableViewContent($view)
72 81
     {
73 82
         return file_get_contents($view->getPath());
Please login to merge, or discard this patch.