Skip to content

Commit

Permalink
Adding docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
spaze committed Nov 23, 2024
1 parent 1aed0e8 commit 0b5130b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/Pulse/Passwords/PasswordsSorting.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ public function sort(StorageRegistry $storages, string $sort): StorageRegistry
}


/**
* @param callable(StorageRegistry, StorageSite, StorageSite, string): int $callback
*/
private function sortSites(StorageRegistry $storages, Storage $a, Storage $b, string $sort, callable $callback): int
{
if (count($a->getSites()) > 1 || count($b->getSites()) > 1) {
Expand Down

0 comments on commit 0b5130b

Please sign in to comment.