Skip to content

Commit

Permalink
Fixed really stupid typo
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljennings committed Jun 3, 2016
1 parent 83d84ef commit 16fb641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function push($notification, $notifiable)
}
}

$notification = is_string('notification') ? ['body' => $notification] : $notification;
$notification = is_string($notification) ? ['body' => $notification] : $notification;

foreach ($notifiable as $toBeNotified) {
$this->pushNotification($notification, $toBeNotified);
Expand Down Expand Up @@ -256,4 +256,4 @@ protected function makeNotification(array $notification)
{
return $this->repository->newNotification($notification);
}
}
}

0 comments on commit 16fb641

Please sign in to comment.