<?php

namespace Coyote\Http\Controllers\User;

class UserApiController extends BaseController
{
    /**
    * @param \Coyote\User $user
    */
    public function get($user)
    {
        return response()->json([
            'id' => $user->id,
            'name' => $user->name,
        ]);
    }
}

<?php

namespace Coyote\Http\Controllers\User;

class UserApiController extends BaseController
{
    public function __construct()
    {
    }

    /**
    * @param \Coyote\User $user
    */
    public function get($user)
    {
        return response()->json([
            'id' => $user->id,
            'name' => $user->name,
        ]);
    }
}

Add empty constructor, as advised by Adam
Add empty constructor, as advised by Adam
