You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by bh...@apache.org on 2010/11/04 14:33:14 UTC

svn commit: r1030961 - /shindig/trunk/php/src/gadgets/GadgetSpecParser.php

Author: bhofmann
Date: Thu Nov  4 13:33:13 2010
New Revision: 1030961

URL: http://svn.apache.org/viewvc?rev=1030961&view=rev
Log:
PHP: Small Fix for makeRequests with OAuth authorization

Modified:
    shindig/trunk/php/src/gadgets/GadgetSpecParser.php

Modified: shindig/trunk/php/src/gadgets/GadgetSpecParser.php
URL: http://svn.apache.org/viewvc/shindig/trunk/php/src/gadgets/GadgetSpecParser.php?rev=1030961&r1=1030960&r2=1030961&view=diff
==============================================================================
--- shindig/trunk/php/src/gadgets/GadgetSpecParser.php (original)
+++ shindig/trunk/php/src/gadgets/GadgetSpecParser.php Thu Nov  4 13:33:13 2010
@@ -33,7 +33,7 @@ class GadgetSpecParser {
    *
    * @param string $xmlContent
    */
-  public function parse($xmlContent, GadgetContext $context) {
+  public function parse($xmlContent, GadgetContext $context = null) {
     $this->context = $context;
     libxml_use_internal_errors(true);
     $doc = new DOMDocument();