Skip to content

Commit

Permalink
Fix comments on the code
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Wenzel committed May 19, 2016
1 parent cd9e294 commit 6905013
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Classes/StorageFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ class StorageFactory
protected $credentialProfiles;

/**
     * @Flow\Inject
     * @var \TYPO3\Flow\Utility\Environment
     */
    protected $environment;
* @Flow\Inject
* @var \TYPO3\Flow\Utility\Environment
*/
protected $environment;

/**
* Creates a new Storage instance and authenticates agains the Google API
Expand Down Expand Up @@ -66,7 +66,7 @@ public function create($credentialsProfileName = 'default')
$temporaryTargetPathAndFilename = $this->environment->getPathToTemporaryDirectory() . 'Flownative_Google_CloudStorage_Temp';

$googleClient = new \Google_Client();
$googleClient->setClassConfig('Google_Cache_File', 'directory',  $temporaryTargetPathAndFilename);
$googleClient->setClassConfig('Google_Cache_File', 'directory',$temporaryTargetPathAndFilename);
$googleClient->setAssertionCredentials($credentials);
if ($googleClient->isAccessTokenExpired()) {
$googleClient->getRefreshToken();
Expand Down

0 comments on commit 6905013

Please sign in to comment.