mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 18:28:49 +02:00
Fixed typos
This commit is contained in:
parent
63df16a369
commit
d04d743520
144 changed files with 263 additions and 265 deletions
|
@ -61,7 +61,7 @@ class AttachmentRepository extends DBElementRepository
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the count of all external attachments (attachments only containing an URL).
|
||||
* Gets the count of all external attachments (attachments only containing a URL).
|
||||
*
|
||||
* @throws NoResultException
|
||||
* @throws NonUniqueResultException
|
||||
|
@ -80,7 +80,7 @@ class AttachmentRepository extends DBElementRepository
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the count of all attachments where an user uploaded an file.
|
||||
* Gets the count of all attachments where a user uploaded a file.
|
||||
*
|
||||
* @throws NoResultException
|
||||
* @throws NonUniqueResultException
|
||||
|
|
|
@ -100,7 +100,7 @@ class LogEntryRepository extends DBElementRepository
|
|||
* Gets all log entries that are related to time travelling.
|
||||
*
|
||||
* @param AbstractDBElement $element The element for which the time travel data should be retrieved
|
||||
* @param DateTime $until Back to which timestamp should the data be get (including the timestamp)
|
||||
* @param DateTime $until Back to which timestamp should the data be got (including the timestamp)
|
||||
*
|
||||
* @return AbstractLogEntry[]
|
||||
*/
|
||||
|
|
|
@ -47,7 +47,7 @@ class NamedDBElementRepository extends DBElementRepository
|
|||
|
||||
if ($entity instanceof User) {
|
||||
if ($entity->isDisabled()) {
|
||||
//If this is an user, then add a badge when it is disabled
|
||||
//If this is a user, then add a badge when it is disabled
|
||||
$node->setIcon('fa-fw fa-treeview fa-solid fa-user-lock text-muted');
|
||||
}
|
||||
if ($entity->isSamlUser()) {
|
||||
|
|
|
@ -30,7 +30,7 @@ use Doctrine\ORM\QueryBuilder;
|
|||
class PartRepository extends NamedDBElementRepository
|
||||
{
|
||||
/**
|
||||
* Gets the summed up instock of all parts (only parts without an measurent unit).
|
||||
* Gets the summed up instock of all parts (only parts without a measurement unit).
|
||||
*
|
||||
* @throws NoResultException
|
||||
* @throws NonUniqueResultException
|
||||
|
@ -49,7 +49,7 @@ class PartRepository extends NamedDBElementRepository
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the number of parts that has price informations.
|
||||
* Gets the number of parts that has price information.
|
||||
*
|
||||
* @throws NoResultException
|
||||
* @throws NonUniqueResultException
|
||||
|
|
|
@ -88,7 +88,7 @@ class StructuralDBElementRepository extends NamedDBElementRepository
|
|||
$recursiveIterator = new RecursiveIteratorIterator($elementIterator, RecursiveIteratorIterator::SELF_FIRST);
|
||||
//$result = iterator_to_array($recursiveIterator);
|
||||
|
||||
//We can not use iterator_to_array here or we get only the parent elements
|
||||
//We can not use iterator_to_array here, or we get only the parent elements
|
||||
foreach ($recursiveIterator as $item) {
|
||||
$result[] = $item;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue