Fehler beseitigt, die beim Schreiben der Tests auffielen.
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
namespace TorstenHettstedt\TimekeepingApi\Repositories;
|
||||
|
||||
|
||||
class UnsupportedModelException extends RepositoryException
|
||||
class RepositoryModelAlreadyExists extends RepositoryException
|
||||
{
|
||||
|
||||
}
|
||||
@@ -11,21 +11,21 @@ interface RepositoryWriterInterface
|
||||
/**
|
||||
* @param T $model
|
||||
*
|
||||
* @throws UnsupportedModelException
|
||||
* @throws RepositoryModelAlreadyExists
|
||||
*/
|
||||
public function insert(mixed $model): void;
|
||||
|
||||
/**
|
||||
* @param T $model
|
||||
*
|
||||
* @throws UnsupportedModelException
|
||||
* @throws RepositoryRecordNotFoundException
|
||||
*/
|
||||
public function update(mixed $model): void;
|
||||
|
||||
/**
|
||||
* @param T $model
|
||||
*
|
||||
* @throws UnsupportedModelException
|
||||
* @throws RepositoryRecordNotFoundException
|
||||
*/
|
||||
public function delete(mixed $model): void;
|
||||
}
|
||||
Reference in New Issue
Block a user