Skip to content

Commit

Permalink
[INSIGHT] Fix #10
Browse files Browse the repository at this point in the history
  • Loading branch information
nntoan committed Jul 31, 2017
1 parent 15a9115 commit 4eaa38b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Gojira/Api/Client/BaseClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ abstract class BaseClient
/**
* @var bool
*/
protected $isUseCache = false;
protected $useCache = false;

/**
* @var mixed
Expand All @@ -75,14 +75,14 @@ abstract class BaseClient
* @param string $baseUrl JIRA base url
* @param AuthenticationInterface $authentication Authentication object
* @param bool $debug Debug mode
* @param bool $isUseCache Use cache
* @param bool $useCache Cache mode
*/
public function __construct($baseUrl, AuthenticationInterface $authentication, $debug = false, $isUseCache = false)
public function __construct($baseUrl, AuthenticationInterface $authentication, $debug = false, $useCache = false)
{
$this->setBaseUrl($baseUrl);
$this->setAuthentication($authentication);
$this->setDebug($debug);
$this->setIsUseCache($isUseCache);
$this->setUseCache($useCache);
}

/**
Expand Down Expand Up @@ -226,23 +226,23 @@ public function isDebug()
}

/**
* Set is use cache mode
* Set use cache mode
*
* @param boolean $isUseCache
*/
public function setIsUseCache($isUseCache)
public function setUseCache($isUseCache)
{
$this->isUseCache = $isUseCache;
$this->useCache = $isUseCache;
}

/**
* Check is debug mode
* Check use cache mode
*
* @return bool
*/
public function isUseCache()
{
return $this->isUseCache;
return $this->useCache;
}

/**
Expand Down

0 comments on commit 4eaa38b

Please sign in to comment.