Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dmj
PicaRecord
Commits
e1f786ca
Commit
e1f786ca
authored
Aug 26, 2019
by
David Maus
Browse files
Update typehint to avoid warning
parent
cf2c10aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/HAB/Pica/Record/LocalRecord.php
View file @
e1f786ca
...
...
@@ -184,11 +184,11 @@ class LocalRecord extends NestedRecord
* @see CopyRecord::getItemNumber()
* @see NestedRecord::compareRecords()
*
* @param Record $a First copy record
* @param Record $b Second copy record
* @param
Copy
Record $a First copy record
* @param
Copy
Record $b Second copy record
* @return integer Comparism value
*/
protected
function
compareRecords
(
Record
$a
,
Record
$b
)
protected
function
compareRecords
(
Copy
Record
$a
,
Copy
Record
$b
)
{
return
$a
->
getItemNumber
()
-
$b
->
getItemNumber
();
}
...
...
src/HAB/Pica/Record/TitleRecord.php
View file @
e1f786ca
...
...
@@ -208,11 +208,11 @@ class TitleRecord extends NestedRecord
*
* Local records are compared by their ILN.
*
* @param Record $a First record
* @param Record $b Second record
* @param
Local
Record $a First record
* @param
Local
Record $b Second record
* @return Comparism value
*/
protected
function
compareRecords
(
Record
$a
,
Record
$b
)
protected
function
compareRecords
(
Local
Record
$a
,
Local
Record
$b
)
{
return
$a
->
getILN
()
-
$b
->
getILN
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment