]> granicus.if.org Git - php/commitdiff
Set default value for some properties in generate-phpt
authorDanilo Correa <danilosilva87@gmail.com>
Wed, 13 Dec 2017 16:52:51 +0000 (14:52 -0200)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 13 Dec 2017 20:28:29 +0000 (21:28 +0100)
scripts/dev/generate-phpt/src/gtTestSubject.php

index ccf3caad93849a9ed2732d3eda8cc7c3ebbcd3b0..76454dc7b85bb8d9f4133c822a4d59cd418355f9 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 abstract class gtTestSubject {
 
-  protected $optionalArgumentNames;
-  protected $mandatoryArgumentNames;
+  protected $optionalArgumentNames = [];
+  protected $mandatoryArgumentNames = [];
 
   protected $extraArgumentList = '';
   protected $shortArgumentList = '';