Senior
19 augustus 2026

Vind de bug: Laravel

Eén stukje code. Vind de bug, of bewijs dat er geen is.

php
1<?php
2
3namespace App\Services;
4
5use Illuminate\Support\Facades\Http;
6
7class SlackNotifier
8{
9    public function send(string $message): void
10    {
11        $webhook = env('SLACK_WEBHOOK_URL');
12
13        Http::timeout(5)->post($webhook, [
14            'text' => $message,
15        ]);
16    }
17}
18

Klik op de regels die het probleem veroorzaken.

Jouw oordeel

Eén poging per dag. Het antwoord verschijnt direct daarna.

Behoud je reeks

Maak een account om je reeks te behouden en je voortgang te volgen.

Account aanmaken