Skip to content

Commit f5496d6

Browse files
committed
Minor cleanup
1 parent f22b459 commit f5496d6

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ script:
1515
- vendor/bin/phpunit --coverage-clover=coverage.xml
1616

1717
after_success:
18-
- bash <(curl -s https://codecov.io/bash)
18+
- bash <(curl -s https://codecov.io/bash)

src/Client.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,15 @@ public function all($cql, $batchSize = 10, $extraParams = array(), $httpClient =
164164
/**
165165
* Alias for `all()`
166166
* @deprecated
167+
* @param $cql
168+
* @param int $batchSize
169+
* @param array $extraParams
170+
* @param null $httpClient
171+
* @return Records
167172
*/
168173
public function records($cql, $batchSize = 10, $extraParams = array(), $httpClient = null)
169174
{
170-
return $this->all($cql, $batchSize = 10, $extraParams = array(), $httpClient);
175+
return $this->all($cql, $batchSize, $extraParams, $httpClient);
171176
}
172177

173178
/**

src/Providers/SruServiceProvider.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Scriptotek\Sru\Providers;
44

5-
use Illuminate\Foundation\Application;
65
use Illuminate\Support\ServiceProvider;
76
use Scriptotek\Sru\Client as SruClient;
87

@@ -48,4 +47,4 @@ public function provides()
4847
{
4948
return array('sru-client');
5049
}
51-
}
50+
}

src/Record.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Record
1919
/** @var QuiteSimpleXMLElement */
2020
public $data;
2121

22-
static $recordTpl = '<s:record xmlns:s="http://www.loc.gov/zing/srw/">
22+
static public $recordTpl = '<s:record xmlns:s="http://www.loc.gov/zing/srw/">
2323
<s:recordSchema>{{recordSchema}}</s:recordSchema>
2424
<s:recordPacking>{{recordPacking}}</s:recordPacking>
2525
<s:recordPosition>{{position}}</s:recordPosition>

0 commit comments

Comments
 (0)