[Solar-svn] Revision 2741

pmjones at solarphp.com pmjones at solarphp.com
Fri Sep 7 09:23:15 CDT 2007


branch: [FIX] set __construct( = null) on various classes


Modified: branches/orm/Solar/Auth/Adapter/Typekey.php
===================================================================
--- branches/orm/Solar/Auth/Adapter/Typekey.php	2007-09-07 13:53:03 UTC (rev 2740)
+++ branches/orm/Solar/Auth/Adapter/Typekey.php	2007-09-07 14:23:15 UTC (rev 2741)
@@ -142,7 +142,7 @@
      * @param array $config User-defined configuration values.
      * 
      */
-    public function __construct($config)
+    public function __construct($config = null)
     {
         if (extension_loaded('gmp')) {
             $this->_ext = 'gmp';

Modified: branches/orm/Solar/Cli/MakeTests/Data/classAbstract.php
===================================================================
--- branches/orm/Solar/Cli/MakeTests/Data/classAbstract.php	2007-09-07 13:53:03 UTC (rev 2740)
+++ branches/orm/Solar/Cli/MakeTests/Data/classAbstract.php	2007-09-07 14:23:15 UTC (rev 2741)
@@ -29,7 +29,7 @@
      * @param array $config User-defined configuration parameters.
      * 
      */
-    public function __construct($config)
+    public function __construct($config = null)
     {
         $this->skip('abstract class');
         parent::__construct($config);

Modified: branches/orm/Solar/Cli/MakeTests/Data/classAdapter.php
===================================================================
--- branches/orm/Solar/Cli/MakeTests/Data/classAdapter.php	2007-09-07 13:53:03 UTC (rev 2740)
+++ branches/orm/Solar/Cli/MakeTests/Data/classAdapter.php	2007-09-07 14:23:15 UTC (rev 2741)
@@ -34,7 +34,7 @@
      * @param array $config User-defined configuration parameters.
      * 
      */
-    public function __construct($config)
+    public function __construct($config = null)
     {
         $this->todo('need adapter-specific config');
     }

Modified: branches/orm/Solar/Cli/MakeTests/Data/classConcrete.php
===================================================================
--- branches/orm/Solar/Cli/MakeTests/Data/classConcrete.php	2007-09-07 13:53:03 UTC (rev 2740)
+++ branches/orm/Solar/Cli/MakeTests/Data/classConcrete.php	2007-09-07 14:23:15 UTC (rev 2741)
@@ -29,7 +29,7 @@
      * @param array $config User-defined configuration parameters.
      * 
      */
-    public function __construct($config)
+    public function __construct($config = null)
     {
         parent::__construct($config);
     }

Modified: branches/orm/Solar/Cli/MakeTests/Data/classFactory.php
===================================================================
--- branches/orm/Solar/Cli/MakeTests/Data/classFactory.php	2007-09-07 13:53:03 UTC (rev 2740)
+++ branches/orm/Solar/Cli/MakeTests/Data/classFactory.php	2007-09-07 14:23:15 UTC (rev 2741)
@@ -29,7 +29,7 @@
      * @param array $config User-defined configuration parameters.
      * 
      */
-    public function __construct($config)
+    public function __construct($config = null)
     {
         parent::__construct($config);
     }

Modified: branches/orm/Solar/Controller/Console.php
===================================================================
--- branches/orm/Solar/Controller/Console.php	2007-09-07 13:53:03 UTC (rev 2740)
+++ branches/orm/Solar/Controller/Console.php	2007-09-07 14:23:15 UTC (rev 2741)
@@ -79,7 +79,7 @@
      * @param array $config User-provided configuration values.
      * 
      */
-    public function __construct($config)
+    public function __construct($config = null)
     {
         // do the "real" construction
         parent::__construct($config); 

Modified: branches/orm/Solar/Controller/Front.php
===================================================================
--- branches/orm/Solar/Controller/Front.php	2007-09-07 13:53:03 UTC (rev 2740)
+++ branches/orm/Solar/Controller/Front.php	2007-09-07 14:23:15 UTC (rev 2741)
@@ -101,7 +101,7 @@
      * @param array $config User-provided configuration values.
      * 
      */
-    public function __construct($config)
+    public function __construct($config = null)
     {
         // do the "real" construction
         parent::__construct($config); 

Modified: branches/orm/Solar/Markdown/Wiki/Link.php
===================================================================
--- branches/orm/Solar/Markdown/Wiki/Link.php	2007-09-07 13:53:03 UTC (rev 2740)
+++ branches/orm/Solar/Markdown/Wiki/Link.php	2007-09-07 14:23:15 UTC (rev 2741)
@@ -191,7 +191,7 @@
      * @param array $config Array of user-defined configuariont values.
      * 
      */
-    public function __construct($config)
+    public function __construct($config = null)
     {
         parent::__construct($config);
         $this->_class = get_class($this);

Modified: branches/orm/Solar/View/Helper/Action.php
===================================================================
--- branches/orm/Solar/View/Helper/Action.php	2007-09-07 13:53:03 UTC (rev 2740)
+++ branches/orm/Solar/View/Helper/Action.php	2007-09-07 14:23:15 UTC (rev 2741)
@@ -42,7 +42,7 @@
      * @param array $config User-specified configuration.
      * 
      */
-    public function __construct($config)
+    public function __construct($config = null)
     {
         // do the real configuration
         parent::__construct($config);

Modified: branches/orm/Solar/View/Helper/ActionImage.php
===================================================================
--- branches/orm/Solar/View/Helper/ActionImage.php	2007-09-07 13:53:03 UTC (rev 2740)
+++ branches/orm/Solar/View/Helper/ActionImage.php	2007-09-07 14:23:15 UTC (rev 2741)
@@ -42,7 +42,7 @@
      * @param array $config User-specified configuration.
      * 
      */
-    public function __construct($config)
+    public function __construct($config = null)
     {
         // do the real configuration
         parent::__construct($config);

Modified: branches/orm/Solar/View/Helper/PublicHref.php
===================================================================
--- branches/orm/Solar/View/Helper/PublicHref.php	2007-09-07 13:53:03 UTC (rev 2740)
+++ branches/orm/Solar/View/Helper/PublicHref.php	2007-09-07 14:23:15 UTC (rev 2741)
@@ -42,7 +42,7 @@
      * @param array $config User-defined configuration.
      * 
      */
-    public function __construct($config)
+    public function __construct($config = null)
     {
         // do the real configuration
         parent::__construct($config);




More information about the Solar-svn mailing list