File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 33namespace JiraRestApi \Auth ;
44
55use JiraRestApi \Configuration \ConfigurationInterface ;
6- use Monolog \ Logger ;
6+ use Psr \ Log \ LoggerInterface ;
77
88class AuthService extends \JiraRestApi \JiraClient
99{
@@ -73,14 +73,14 @@ public function getSessionCookieValue()
7373 /**
7474 * AuthService constructor.
7575 *
76- * @param ConfigurationInterface|null $configuration
77- * @param Logger |null $logger
78- * @param string $path
76+ * @param ConfigurationInterface|null $configuration
77+ * @param \Psr\Log\LoggerInterface |null $logger
78+ * @param string $path
7979 *
8080 * @throws \Exception
8181 * @throws \JiraRestApi\JiraException
8282 */
83- public function __construct (ConfigurationInterface $ configuration = null , Logger $ logger = null , $ path = './ ' )
83+ public function __construct (ConfigurationInterface $ configuration = null , LoggerInterface $ logger = null , $ path = './ ' )
8484 {
8585 parent ::__construct ($ configuration , $ logger , $ path );
8686 $ this ->setAPIUri ($ this ->auth_api_uri );
Original file line number Diff line number Diff line change 44
55use JiraRestApi \Configuration \ConfigurationInterface ;
66use JiraRestApi \Issue \Issue ;
7+ use Psr \Log \LoggerInterface ;
78
89class BoardService extends \JiraRestApi \JiraClient
910{
1011 private $ uri = '/board ' ;
1112
12- public function __construct (ConfigurationInterface $ configuration = null , Logger $ logger = null , $ path = './ ' )
13+ public function __construct (ConfigurationInterface $ configuration = null , LoggerInterface $ logger = null , $ path = './ ' )
1314 {
1415 parent ::__construct ($ configuration , $ logger , $ path );
1516 $ this ->setAPIUri ('/rest/agile/1.0 ' );
Original file line number Diff line number Diff line change 1111use JiraRestApi \Configuration \ConfigurationInterface ;
1212use JiraRestApi \JiraClient ;
1313use JiraRestApi \JiraException ;
14- use Monolog \ Logger ;
14+ use Psr \ Log \ LoggerInterface ;
1515
1616class SprintService extends JiraClient
1717{
1818 //https://jira01.devtools.intel.com/rest/agile/1.0/board?projectKeyOrId=34012
1919 private $ uri = '/sprint ' ;
2020
21- public function __construct (ConfigurationInterface $ configuration = null , Logger $ logger = null , $ path = './ ' )
21+ public function __construct (ConfigurationInterface $ configuration = null , LoggerInterface $ logger = null , $ path = './ ' )
2222 {
2323 parent ::__construct ($ configuration , $ logger , $ path );
2424 $ this ->setAPIUri ('/rest/agile/1.0 ' );
You can’t perform that action at this time.
0 commit comments