Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #120 from hslatman/fix-slack-coalesce-operator
Browse files Browse the repository at this point in the history
Fix PHP 7 only coalesce syntax
  • Loading branch information
antonmedv authored Mar 27, 2017
2 parents 7cea596 + cb80bd2 commit 4811488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slack.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
'{{stage}}' => $stage,
'{{user}}' => $user,
'{{branch}}' => $branch,
'{{app_name}}' => $config['app'] ?? 'app-name',
'{{app_name}}' => isset($config['app']) ? $config['app'] : 'app-name',
];
$config['message'] = strtr($config['message'], $messagePlaceHolders);

Expand Down

0 comments on commit 4811488

Please sign in to comment.