mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-10 17:28:40 +00:00
test fixes
This commit is contained in:
parent
7b76d797b8
commit
5876d88901
|
|
@ -224,15 +224,15 @@ final class DeleteMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Delete has many relations if the relation is handled in a relation table
|
||||
*
|
||||
* @param string $member Property which contains the has many models
|
||||
* @param array $objIds Objects which are related to the parent object
|
||||
* @param mixed $objId Parent object id
|
||||
* @param string $member Property which contains the has many models
|
||||
* @param null|array $objIds Objects which are related to the parent object
|
||||
* @param mixed $objId Parent object id
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function deleteRelationTable(string $member, ?array $objIds = null, mixed $objId) : void
|
||||
public function deleteRelationTable(string $member, ?array $objIds, mixed $objId) : void
|
||||
{
|
||||
if ((empty($objIds) && $objIds !== null)
|
||||
|| $this->mapper::HAS_MANY[$member]['table'] === $this->mapper::TABLE
|
||||
|
|
|
|||
|
|
@ -531,7 +531,7 @@ class Graph
|
|||
*/
|
||||
private function pathBetweenNodesDfs(
|
||||
Node $node1,
|
||||
?Node $node2 = null,
|
||||
Node $node2,
|
||||
array &$visited,
|
||||
array &$path,
|
||||
array &$paths
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user