mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Use Requests library to get help from Github.
This commit is contained in:
		| @@ -15,34 +15,32 @@ interface HelpInterface | ||||
|      * | ||||
|      * @return string | ||||
|      */ | ||||
|     public function getFromCache(string $key); | ||||
|     public function getFromCache(string $key): string; | ||||
|  | ||||
|     /** | ||||
|      * @param string $route | ||||
|      * | ||||
|      * @return array | ||||
|      */ | ||||
|     public function getFromGithub(string $route); | ||||
|     public function getFromGithub(string $language, string $route):array; | ||||
|  | ||||
|     /** | ||||
|      * @param string $route | ||||
|      * | ||||
|      * @return bool | ||||
|      */ | ||||
|     public function hasRoute(string $route); | ||||
|     public function hasRoute(string $route): bool; | ||||
|  | ||||
|     /** | ||||
|      * @param string $route | ||||
|      * | ||||
|      * @return bool | ||||
|      */ | ||||
|     public function inCache(string $route); | ||||
|     public function inCache(string $route): bool; | ||||
|  | ||||
|     /** | ||||
|      * @param string $route | ||||
|      * @param array  $content | ||||
|      * | ||||
|      * @return void | ||||
|      */ | ||||
|     public function putInCache(string $route, array $content); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user