• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lmc-eu / matej-client-php / 7469814138

20 Oct 2022 11:42AM UTC coverage: 100.0%. Remained the same
7469814138

push

github

OndraM
Block fixup commits from accidental merge

746 of 746 relevant lines covered (100.0%)

27.9 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/Model/Command/UserUserRecommendation.php
1
<?php declare(strict_types=1);
2

3
namespace Lmc\Matej\Model\Command;
4

5
/**
6
 * Deliver user recommendations for given user.
7
 */
8
class UserUserRecommendation extends AbstractUserRecommendation
9
{
10
    /**
11
     * @param string $scenario Name of the place where recommendations are applied - eg. 'search-results-page',
12
     * 'emailing', 'empty-search-results, 'homepage', ...
13
     */
14
    public static function create(string $userId, string $scenario): self
15
    {
16
        return new static($userId, $scenario);
12✔
17
    }
18

19
    protected function getCommandType(): string
20
    {
21
        return 'user-user-recommendations';
12✔
22
    }
23
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc