1
0
mirror of https://github.com/flarum/core.git synced 2025-10-13 07:54:25 +02:00

Extract new Flarum\Post namespace

This commit is contained in:
Franz Liedke
2017-06-24 13:43:33 +02:00
parent 3481798875
commit 66abd7ecfd
38 changed files with 146 additions and 154 deletions

View File

@@ -11,7 +11,7 @@
namespace Flarum\Api\Controller;
use Flarum\Core\Repository\PostRepository;
use Flarum\Post\PostRepository;
use Psr\Http\Message\ServerRequestInterface;
use Tobscure\JsonApi\Document;
@@ -34,12 +34,12 @@ class ShowPostController extends AbstractShowController
];
/**
* @var \Flarum\Core\Repository\PostRepository
* @var \Flarum\Post\PostRepository
*/
protected $posts;
/**
* @param PostRepository $posts
* @param \Flarum\Post\PostRepository $posts
*/
public function __construct(PostRepository $posts)
{