File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ public function export($file, $options)
228228 // if the memory limit option is set and is valid, adjust memory
229229 if (isset ($ options ['memory ' ])) {
230230 $ memory_limit = trim ($ options ['memory ' ]);
231- if ($ this ->testValidMemoryLimit ($ memory_limit )) {
231+ if ($ this ->isMemoryLimitValid ($ memory_limit )) {
232232 ini_set ('memory_limit ' , $ memory_limit );
233233 }
234234 }
@@ -238,7 +238,7 @@ public function export($file, $options)
238238 echo $ this ->render ($ structs , $ options );
239239 }
240240
241- private static function testValidMemoryLimit ($ memory_limit ) {
241+ private static function isMemoryLimitValid ($ memory_limit ) {
242242 if ($ memory_limit == "-1 " ) {
243243 // no memory limit
244244 return true ;
You can’t perform that action at this time.
0 commit comments