Skip to content

Commit 3f11332

Browse files
committed
correct super calls
Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>
1 parent 060fd1d commit 3f11332

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/php.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class PHP < Inspec.resource(1)
3535
"
3636

3737
def initialize(options = {})
38-
super
38+
super()
3939
@options = options
4040
end
4141

@@ -95,7 +95,7 @@ class PHPConfig < PHP
9595
"
9696

9797
def initialize(param)
98-
super
98+
super()
9999
warn '[DEPRECATION] `php_config(param)` is deprecated. Please use `php.config(param)` instead.'
100100
@param = param
101101
end

0 commit comments

Comments
 (0)