Object parameters should be type hinted

More information: https://insight.symfony.com/what-we-analyse/php.object_parameter_not_type_hinted

in src/ApnChannel.php, line 72
  1. * @param mixed $notifiable
  2. * @param \Illuminate\Notifications\Notification $notification
  3. *
  4. * @throws \NotificationChannels\Apn\Exceptions\SendingFailed
  5. */
  6. public function send($notifiable, Notification $notification)

    The parameter notifiable, which is an object, should be typehinted.

    Time to fix: about 1 hour
    Open Issue Permalink
    Last edited by Barry vd. Heuvel
  7. {
  8. $tokens = (array) $notifiable->routeNotificationFor('apn');
  9. if (! $tokens) {
  10. return;
  11. }

User specific files should not appear in .gitignore

More information: https://insight.symfony.com/what-we-analyse/git.user_specific_ignored_file

in .gitignore, line 2
  1. /vendor
  2. /.idea

    /.idea is user-specific and should not appear in a project .gitignore. Consider adding it to the user global .gitignore instead.

    Time to fix: about 15 minutes
    Open Issue Permalink
    Last edited by Barry vd. Heuvel
  3. build
  4. composer.phar
  5. composer.lock