#20 - wip
This commit is contained in:
		
							
								
								
									
										16
									
								
								app/Helpers/Rules/PendingVacationRequestInSameRange.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								app/Helpers/Rules/PendingVacationRequestInSameRange.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| <?php | ||||
|  | ||||
| declare(strict_types=1); | ||||
|  | ||||
| namespace Toby\Helpers\Rules; | ||||
|  | ||||
| use Closure; | ||||
| use Toby\Models\VacationRequest; | ||||
|  | ||||
| class PendingVacationRequestInSameRange | ||||
| { | ||||
|     public function check(VacationRequest $vacationRequest, Closure $next) | ||||
|     { | ||||
|         return $next($vacationRequest); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user