Scrutinizer Auto-Fixes

This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit is contained in:
Scrutinizer Auto-Fixer 2018-01-09 14:28:11 +00:00
parent 9f18398686
commit 40fea35b10
2 changed files with 31 additions and 34 deletions

View File

@ -539,8 +539,7 @@ class tx_dlf_solr {
*
* @return array The Apache Solr Documents that were fetched
*/
public function search_raw($query = '', $parameters = array ())
{
public function search_raw($query = '', $parameters = array ()) {
$solr_response = $this->service->search((string) $query, 0, $this->limit, array_merge($this->params, $parameters));
$searchresult = array ();

View File

@ -876,8 +876,7 @@ class tx_dlf_oai extends tx_dlf_plugin {
* @return array
* @throws Exception
*/
private function fetchDocumentUIDs()
{
private function fetchDocumentUIDs() {
$solr_query = '';
if (!$this->conf['show_userdefined']) {
@ -1090,8 +1089,7 @@ class tx_dlf_oai extends tx_dlf_plugin {
* @param tx_dlf_list $documentListSet
* @return DOMElement
*/
private function generateResumptionTokenForDocumentListSet($documentListSet)
{
private function generateResumptionTokenForDocumentListSet($documentListSet) {
$resumptionToken = $this->oai->createElementNS('http://www.openarchives.org/OAI/2.0/', 'resumptionToken');
if ($documentListSet->count() != 0) {
@ -1122,7 +1120,7 @@ class tx_dlf_oai extends tx_dlf_plugin {
return $resumptionToken;
}
private function devLog($message, $severity, $data = null) {
private function devLog($message, $severity, $data = NULL) {
if (TYPO3_DLOG) {
\TYPO3\CMS\Core\Utility\GeneralUtility::devLog($message, $this->extKey, $severity, $data);
}