diff --git a/.idea/php.xml b/.idea/php.xml
index 2600f39..d8075fa 100644
--- a/.idea/php.xml
+++ b/.idea/php.xml
@@ -54,12 +54,21 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/phpss/wsutils.php b/src/phpss/wsutils.php
index 14a3152..d20d489 100644
--- a/src/phpss/wsutils.php
+++ b/src/phpss/wsutils.php
@@ -1,7 +1,7 @@
getSheetCount();
if ($wsname < 1 || $wsname > $sheetCount) {
- throw ValueException::invalid_value($wsname, "sheet index");
+ throw exceptions::invalid_value($wsname, "sheet index");
}
$ws = $ss->getSheet($wsname - 1);
} else {
$ws = $ss->getSheetByName($wsname);
if ($ws === null) {
if ($create) $ws = $ss->createSheet()->setTitle($wsname);
- else throw ValueException::invalid_value($wsname, "sheet name");
+ else throw exceptions::invalid_value($wsname, "sheet name");
}
}
return $ws;