From 674e54aee408c731abe1b911891f7e531b98b508 Mon Sep 17 00:00:00 2001 From: Carsten Klee Date: Fri, 21 Aug 2015 10:36:05 +0200 Subject: [PATCH] travis teest php 5.6 --- .travis.yml | 1 + MARCspec.php | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 96a7457..3ca412e 100755 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: php php: + - 5.6 - 5.5 - 5.4 - hhvm diff --git a/MARCspec.php b/MARCspec.php index ce9490a..235cfa4 100755 --- a/MARCspec.php +++ b/MARCspec.php @@ -175,7 +175,10 @@ public function getSubfield($arg) return null; } - + /** + * Creates and adds a single subfield from the MARCspecParser result + * @param array $_subfield The MARCspecParser result array + */ private function addSubfield($_subfield) { if(array_key_exists('subfieldtagrange',$_subfield))