Feature: Notification types Illuminate\Notifications\Notification have type support Background: Given I have the "laravel/framework" package satisfying the ">= 6.0.4" Given I have the following config """ """ Scenario: "artisan make:notification ExampleNotification" Given I have the following code """ line('The introduction to the notification.') ->action('Notification Action', url('/')) ->line('Thank you for using our application!'); } /** * Get the array representation of the notification. * * @param mixed $notifiable * @return array */ public function toArray($notifiable) { return [ // ]; } } """ When I run Psalm Then I see no errors