You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm still learning how to use Laravel, so it's possible I've got something wrong.
I've followed the installation and configuration instructions, and I've been over them several times to check that everything is correct.
In: app/Http/Controllers/VenuesManageController.php I have:
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Exceptions\Handler;
use UrlSigner;
use App\Venues;
class VenuesManageController extends Controller
{
public function get_url()
{
echo UrlSigner::sign('https://myapp.com/user/1/unsubscribe', 1);
}
}
But I get an error:
FatalErrorException
syntax error, unexpected ':', expecting ';' or '{'
in UrlSigner.php (line 17)
What's wrong?
The text was updated successfully, but these errors were encountered:
Hi, I'm still learning how to use Laravel, so it's possible I've got something wrong.
I've followed the installation and configuration instructions, and I've been over them several times to check that everything is correct.
In:
app/Http/Controllers/VenuesManageController.php
I have:But I get an error:
What's wrong?
The text was updated successfully, but these errors were encountered: