1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 07:24:27 +02:00

Fix some incorrect automated refactorings

This commit is contained in:
Franz Liedke
2017-06-24 14:10:39 +02:00
parent c22219ec20
commit 920a4071b6
9 changed files with 19 additions and 20 deletions

View File

@@ -40,7 +40,7 @@ class DeletePostHandler
/**
* @param DeletePost $command
* @return \Flarum\Core\Post
* @return \Flarum\Post\Post
* @throws \Flarum\User\Exception\PermissionDeniedException
*/
public function handle(DeletePost $command)

View File

@@ -48,7 +48,7 @@ class EditPostHandler
/**
* @param EditPost $command
* @return \Flarum\Core\Post
* @return \Flarum\Post\Post
* @throws \Flarum\User\Exception\PermissionDeniedException
*/
public function handle(EditPost $command)

View File

@@ -124,8 +124,8 @@ class CoreServiceProvider extends AbstractServiceProvider
public function registerPostTypes()
{
$models = [
'Flarum\Post\Post\CommentPost',
'Flarum\Post\Post\DiscussionRenamedPost'
'Flarum\Post\CommentPost',
'Flarum\Post\DiscussionRenamedPost'
];
$this->app->make('events')->fire(