Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Commit

Permalink
Merge bb7d36e into 2bf87d9
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkGhostHunter committed May 6, 2020
2 parents 2bf87d9 + bb7d36e commit fefe24e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 29 deletions.
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Help me support this package

ko_fi: DarkGhostHunter
custom: ['https://paypal.me/darkghosthunter']
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

8 changes: 4 additions & 4 deletions src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ function alert(string $message = null, string $type = null, bool $dismiss = null
* Creates an Alert based on condition
*
* @param mixed $condition
* @param string $message
* @param string|null $message
* @param string|null $type
* @param bool|null $dismiss
* @return \DarkGhostHunter\Laralerts\Alert
*/
function alert_if($condition, string $message, string $type = null, bool $dismiss = null)
function alert_if($condition, string $message = null, string $type = null, bool $dismiss = null)
{
return $condition ? alert($message, $type, $dismiss) : new Alert;
}
Expand All @@ -57,12 +57,12 @@ function alert_if($condition, string $message, string $type = null, bool $dismis
* Creates an Alert unless the condition evaluates as false
*
* @param mixed $condition
* @param string $message
* @param string|null $message
* @param string|null $type
* @param bool|null $dismiss
* @return \DarkGhostHunter\Laralerts\Alert
*/
function alert_unless($condition, string $message, string $type = null, bool $dismiss = null)
function alert_unless($condition, string $message = null, string $type = null, bool $dismiss = null)
{
return alert_if(!$condition, $message, $type, $dismiss);
}
Expand Down

0 comments on commit fefe24e

Please sign in to comment.