Skip to content

Commit 1272695

Browse files
[12.x] Add throws docblock (#56137)
* fix throws doc block * Update CompilerEngine.php --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent 6262237 commit 1272695

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/Illuminate/Notifications/NotificationSender.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ protected function preferredLocale($notifiable, $notification)
146146
* @param mixed $notification
147147
* @param string $channel
148148
* @return void
149+
*
150+
* @throws \Throwable
149151
*/
150152
protected function sendToNotifiable($notifiable, $id, $notification, $channel)
151153
{

src/Illuminate/View/Engines/CompilerEngine.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ public function __construct(CompilerInterface $compiler, ?Filesystem $files = nu
5454
* @param string $path
5555
* @param array $data
5656
* @return string
57+
*
58+
* @throws \Illuminate\View\ViewException
5759
*/
5860
public function get($path, array $data = [])
5961
{

0 commit comments

Comments
 (0)