- Fixed a bug occuring within Timeout
This commit is contained in:
		
							parent
							
								
									aba0ec3458
								
							
						
					
					
						commit
						56ca1e2071
					
				@ -9,5 +9,6 @@ class Collection extends ApiAction {
 | 
				
			|||||||
    public function __construct(
 | 
					    public function __construct(
 | 
				
			||||||
        public string $url,
 | 
					        public string $url,
 | 
				
			||||||
        public MethodEnum $method = MethodEnum::Get,
 | 
					        public MethodEnum $method = MethodEnum::Get,
 | 
				
			||||||
 | 
					        public int $timeout = 5,
 | 
				
			||||||
    ) {}
 | 
					    ) {}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -9,5 +9,6 @@ class Create extends ApiAction {
 | 
				
			|||||||
    public function __construct(
 | 
					    public function __construct(
 | 
				
			||||||
        public string $url,
 | 
					        public string $url,
 | 
				
			||||||
        public MethodEnum $method = MethodEnum::Post,
 | 
					        public MethodEnum $method = MethodEnum::Post,
 | 
				
			||||||
 | 
					        public int $timeout = 5,
 | 
				
			||||||
    ) {}
 | 
					    ) {}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -9,5 +9,6 @@ class Delete extends ApiAction {
 | 
				
			|||||||
    public function __construct(
 | 
					    public function __construct(
 | 
				
			||||||
        public string $url,
 | 
					        public string $url,
 | 
				
			||||||
        public MethodEnum $method = MethodEnum::Delete,
 | 
					        public MethodEnum $method = MethodEnum::Delete,
 | 
				
			||||||
 | 
					        public int $timeout = 5,
 | 
				
			||||||
    ) {}
 | 
					    ) {}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -9,5 +9,6 @@ class Read extends ApiAction {
 | 
				
			|||||||
    public function __construct(
 | 
					    public function __construct(
 | 
				
			||||||
        public string $url,
 | 
					        public string $url,
 | 
				
			||||||
        public MethodEnum $method = MethodEnum::Get,
 | 
					        public MethodEnum $method = MethodEnum::Get,
 | 
				
			||||||
 | 
					        public int $timeout = 5,
 | 
				
			||||||
    ) {}
 | 
					    ) {}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -9,5 +9,6 @@ class Update extends ApiAction {
 | 
				
			|||||||
    public function __construct(
 | 
					    public function __construct(
 | 
				
			||||||
        public string $url,
 | 
					        public string $url,
 | 
				
			||||||
        public MethodEnum $method = MethodEnum::Patch,
 | 
					        public MethodEnum $method = MethodEnum::Patch,
 | 
				
			||||||
 | 
					        public int $timeout = 5,
 | 
				
			||||||
    ) {}
 | 
					    ) {}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user