You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 21, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: src/Werkspot/JiraDashboard/SharedKernel/Infrastructure/Messaging/CommandBus/Tactician/TacticianCommandBusFactory.php
Copy file name to clipboardExpand all lines: src/Werkspot/JiraDashboard/SharedKernel/Infrastructure/Persistence/InMemory/Sprint/SprintRepositoryInMemoryAdapter.php
+8-6
Original file line number
Diff line number
Diff line change
@@ -54,13 +54,15 @@ public function findAll(): ?array
54
54
*/
55
55
publicfunctionfindAllByTeam(Id$teamId): ?array
56
56
{
57
-
$sprintArray = array_filter($this->inMemoryData, function (Sprint$sprint) use ($teamId) {
58
-
if ($sprint->getTeam()->getId() == $teamId) {
59
-
return$sprint;
60
-
}
57
+
$sprintArray = array_values(
58
+
array_filter($this->inMemoryData, function (Sprint$sprint) use ($teamId) {
0 commit comments