CS Fixer
This commit is contained in:
@@ -8,12 +8,12 @@ use App\Messenger\CommandBus;
|
||||
use Cheeper\AllChapters\DomainModel\Author\AuthorDoesNotExist;
|
||||
use Cheeper\Chapter7\Application\Author\Command\FollowCommand;
|
||||
use InvalidArgumentException;
|
||||
use function json_decode;
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\HttpFoundation\JsonResponse;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
use function json_decode;
|
||||
|
||||
final class FollowAuthorController extends AbstractController
|
||||
{
|
||||
|
||||
@@ -36,7 +36,6 @@ final class PostCheepController extends AbstractController
|
||||
$commandBus->handle($command);
|
||||
|
||||
$httpContent['data']['cheep_id'] = $command->cheepId();
|
||||
|
||||
} catch (
|
||||
AuthorDoesNotExist
|
||||
| InvalidArgumentException $exception
|
||||
|
||||
@@ -4,7 +4,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace Cheeper\Chapter7\Application\Cheep\Projection;
|
||||
|
||||
use Cheeper\Chapter7\Application\Author\Projection\CreateFollowersCounterProjectionHandler;
|
||||
use Redis;
|
||||
|
||||
//snippet add-cheep-to-timeline-projector
|
||||
|
||||
Reference in New Issue
Block a user