mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-12 11:24:31 +02:00
Fixed typos
This commit is contained in:
parent
63df16a369
commit
d04d743520
144 changed files with 263 additions and 265 deletions
|
@ -74,7 +74,6 @@ class EntityExporter
|
|||
}
|
||||
|
||||
//Ensure that all entities are of type AbstractNamedDBElement
|
||||
$entity_type = null;
|
||||
foreach ($entities as $entity) {
|
||||
if (!$entity instanceof AbstractNamedDBElement) {
|
||||
throw new InvalidArgumentException('All entities must be of type AbstractNamedDBElement!');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue