Skip to content

Commit

Permalink
Fix for sensiolabsinsight
Browse files Browse the repository at this point in the history
  • Loading branch information
Andréas Hanss committed Dec 11, 2015
1 parent edebdcc commit 6adcef6
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
/composer.lock
/vendor
/report
/build
/build
2 changes: 1 addition & 1 deletion Core/Classes/DownloadRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ public function isAccessKeyValid($accessKey)
{
return $this->accessKey === $accessKey;
}
}
}
2 changes: 1 addition & 1 deletion Core/Classes/DownloadRequestError.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ public function __toString()
}


}
}
2 changes: 1 addition & 1 deletion Core/Classes/ErrorCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ abstract class ErrorCode
CONST INVALID_STORED_DOCUMENT_TYPE = 2;
CONST INVALID_ACCESS_KEY = 3;
CONST INVALID_FILEPATH = 4;
}
}
2 changes: 1 addition & 1 deletion Core/Classes/Response/BlobResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ public function __construct($documentPath, $status = 200, array $headers = array
$headers['Content-Type'] = finfo_file($finfoMineType, $documentPath);
parent::__construct($content, $status, $headers);
}
}
}
2 changes: 1 addition & 1 deletion Core/Exceptions/DownloadRequestException.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ public function getDocumentPath()
{
return $this->downloadRequest->getFilePath();
}
}
}
2 changes: 1 addition & 1 deletion Services/SecureDownloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,4 @@ private function createDownloadRequest($documentHash, $accessKey)

return $downloadRequest;
}
}
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
"autoload": {
"psr-4": {"Screamz\\SecureDownloadBundle\\": ""}
}
}
}

0 comments on commit 6adcef6

Please sign in to comment.