summaryrefslogtreecommitdiff
path: root/scripts/dev/generate-phpt/src/setup/gtOptionalSections.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dev/generate-phpt/src/setup/gtOptionalSections.php')
-rw-r--r--scripts/dev/generate-phpt/src/setup/gtOptionalSections.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/scripts/dev/generate-phpt/src/setup/gtOptionalSections.php b/scripts/dev/generate-phpt/src/setup/gtOptionalSections.php
index 1d2a163175..17409bc455 100644
--- a/scripts/dev/generate-phpt/src/setup/gtOptionalSections.php
+++ b/scripts/dev/generate-phpt/src/setup/gtOptionalSections.php
@@ -56,17 +56,11 @@ class gtOptionalSections {
}
public function hasSkipifKey() {
- if($this->skipifKey != '') {
- return true;
- }
- return false;
+ return $this->skipifKey != '';
}
public function hasSkipifExt() {
- if($this->skipifExt != '') {
- return true;
- }
- return false;
+ return $this->skipifExt != '';
}
public function hasIni() {
return $this->optSections['ini'];