Skip to content

Commit 7dd2d1e

Browse files
authored
Merge pull request #971 from prajapati-kaushik/10340-phpstan-scan-and-fix-bugs-git-bundle
refactor: phpstan scan git bundle #10340
2 parents a5a1ff1 + df33032 commit 7dd2d1e

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

src/Contracts/MetaEntityServiceInterface.php

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,21 @@
22

33
namespace LinkORB\Bundle\WikiBundle\Contracts;
44

5+
use LinkORB\Bundle\MetaEntityBundle\Entity\MetaUserEntity;
6+
57
interface MetaEntityServiceInterface
68
{
7-
public function getUserRecentByBusinessKey(string $username, string $class, int $maybe_limit);
8-
public function getFavoriteByBusinessKey(string $username, string $class, int $maybe_limit);
9-
public function toggleFavorite(string $username, string $businessKey);
10-
public function ensureMetaUserEntity(string $username, string $businessKey);
9+
/**
10+
* @return MetaUserEntity[]
11+
*/
12+
public function getUserRecentByBusinessKey(string $username, string $class, int $maybe_limit): array;
13+
14+
/**
15+
* @return MetaUserEntity[]
16+
*/
17+
public function getFavoriteByBusinessKey(string $username, string $class, int $maybe_limit): array;
18+
19+
public function toggleFavorite(string $username, string $businessKey): void;
20+
21+
public function ensureMetaUserEntity(string $username, string $businessKey): MetaUserEntity;
1122
}

0 commit comments

Comments
 (0)