1 | <?php |
||
8 | class VerifyDeployRequest |
||
9 | { |
||
10 | protected $origins = []; |
||
11 | |||
12 | 22 | public function __construct(Request $request) |
|
19 | |||
20 | 22 | public function handle($request, Closure $next) |
|
44 | |||
45 | /** |
||
46 | * Determine the origin of a deploy request. |
||
47 | * |
||
48 | * @param Illuminate\Http\Request $request The Request object. |
||
49 | * |
||
50 | * @return \Morphatic\AutoDeploy\Origins\OriginInterface An object corresponding to the origin type or null. |
||
51 | */ |
||
52 | 18 | private function determineOrigin() |
|
60 | } |
||
61 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.