Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

Commit

Permalink
use Resource instead of JsonResource for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
pactode committed May 23, 2019
1 parent 2163581 commit 5a7435a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/Resources/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Signifly\Responder\Tests\Resources;

use Illuminate\Http\Resources\Json\JsonResource;
use Illuminate\Http\Resources\Json\Resource;

class Product extends JsonResource
class Product extends Resource
{
}
4 changes: 2 additions & 2 deletions tests/Resources/ProductResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Signifly\Responder\Tests\Resources;

use Illuminate\Http\Resources\Json\JsonResource;
use Illuminate\Http\Resources\Json\Resource;

class ProductResource extends JsonResource
class ProductResource extends Resource
{
}

0 comments on commit 5a7435a

Please sign in to comment.