Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Miliooo committed Dec 25, 2015
1 parent 4a801b9 commit 8cb0051
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/ReadModel/DoctrineORM/DoctrineORMRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Broadway\ReadModel\ReadModelInterface;
use Doctrine\ORM\EntityManagerInterface;
use Milio\CQRS\Readmodel\Exception\NotFoundReadModelException;
use Milio\CQRS\Readmodel\Exceptions\NotFoundReadModelException;
use Milio\CQRS\ReadModel\ReadModelRepositoryInterface;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Milio\CQRS\ReadModel\Exception;
namespace Milio\CQRS\ReadModel\Exceptions;

/**
* Exception that gets thrown when read model could not be found by it's identifier
Expand Down
2 changes: 1 addition & 1 deletion src/ReadModel/InMemory/MilioInMemoryRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Broadway\ReadModel\ReadModelInterface;
use Broadway\ReadModel\RepositoryInterface;
use Milio\CQRS\ReadModel\Exception\NotFoundReadModelException;
use Milio\CQRS\ReadModel\Exceptions\NotFoundReadModelException;
use Milio\CQRS\ReadModel\ReadModelRepositoryInterface;

class MilioInMemoryRepository implements ReadModelRepositoryInterface
Expand Down
2 changes: 1 addition & 1 deletion src/ReadModel/ReadModelRepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Broadway\ReadModel\ReadModelInterface;
use Broadway\ReadModel\RepositoryInterface;
use Milio\CQRS\Readmodel\Exception\NotFoundReadModelException;
use Milio\CQRS\Readmodel\Exceptions\NotFoundReadModelException;

interface ReadModelRepositoryInterface extends RepositoryInterface
{
Expand Down
2 changes: 1 addition & 1 deletion tests/ReadModel/InMemory/MilioInMemoryRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function setup()

/**
* @test
* @expectedException \Milio\CQRS\ReadModel\Exception\NotFoundReadModelException
* @expectedException \Milio\CQRS\ReadModel\Exceptions\NotFoundReadModelException
*/
public function find_or_fail_throws_exception_when_no_result()
{
Expand Down

0 comments on commit 8cb0051

Please sign in to comment.