Commit 5559e8de authored by Ben Hayward's avatar Ben Hayward

Linting

1 merge request!328[Sprint/NuancedNumbat](fix): Ban email now returning string of ban reason rather than index.
Pipeline #84125635 running with stages
......@@ -13,7 +13,7 @@ use Minds\Core\Events\Dispatcher;
use Minds\Core\Channels\Delegates\Ban;
class Events
{
{
public function __construct()
{
$this->config = Di::_()->get('Config');
......
......@@ -44,7 +44,7 @@ class EventsSpec extends ObjectBehavior
1 => 'is illegal',
2 => 'Should be marked as explicit',
3 => 'Encourages or incites violence',
];
];
Di::_()->get('Config')->set('ban_reasons', $reasons);
$this->getBanReasons(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment