Permalink
Browse files

PostRepository 自動刪除沒用的 namespace

  • Loading branch information...
1 parent e9e14eb commit 79745623c4cbc82c7759e30d4cb8bdcda4cc8890 Sam.IO.Hsiao committed Jul 28, 2016
Showing with 0 additions and 2 deletions.
  1. +0 −2 app/Repositories/PostRepository.php
@@ -4,13 +4,11 @@
namespace App\Repositories;
-use App\Post;
use Illuminate\Database\Eloquent\Collection;
class PostRepository
{
public function getAllPosts() : Collection
{
- return Post::all();
}
}

0 comments on commit 7974562

Please sign in to comment.