1 | <?php |
||
10 | class UpdatesManager |
||
11 | { |
||
12 | /** |
||
13 | * Update Repository |
||
14 | * |
||
15 | * @var mixed |
||
16 | **/ |
||
17 | public $repository; |
||
18 | /** |
||
19 | * Create a new instance of the UpdatesManager::class |
||
20 | * |
||
21 | **/ |
||
22 | |||
23 | public function __construct(RepositoryContract $repository) |
||
27 | |||
28 | /** |
||
29 | * Determin if the customer has already verified the product |
||
30 | * |
||
31 | * @return void |
||
32 | * @param string $purchaseKey |
||
33 | **/ |
||
34 | public function verifyCustomer($purchaseKey) |
||
38 | |||
39 | /** |
||
40 | * Get a specific update version |
||
41 | * |
||
42 | * @return void |
||
43 | * @param string $version Build version |
||
44 | **/ |
||
45 | public function getRelease($version) |
||
48 | |||
49 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.