Skip to content

Commit 9a13ba1

Browse files
committed
Make subject string glue static
So it can be configured more easily
1 parent b55f12a commit 9a13ba1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Fields/Subject.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class Subject extends Field
66
{
7-
public $stringGlue = ' : ';
7+
public static $glue = ' : ';
88

99
protected $vocabularies = array(
1010
'0' => 'lcsh', // 0: Library of Congress Subject Headings
@@ -38,6 +38,6 @@ public function __toString()
3838
$parts[] = $c->getData();
3939
}
4040
}
41-
return implode($this->stringGlue, $parts);
41+
return implode(Subject::$glue, $parts);
4242
}
4343
}

0 commit comments

Comments
 (0)