Permalink
Browse files

Resolve E_STRICT errors and warnings.

  • Loading branch information...
1 parent a45ac61 commit fb8f132167cb57f326829a0ece77a89c1f5568c3 @nickl- nickl- committed Jan 13, 2013
View
@@ -184,7 +184,7 @@ function extSkelCompat()
foreach (file($proto_file) as $line) {
$func = new CodeGen_PECL_Element_Function;
$func->setRole("public");
- $err = $func->setProto(trim($line));
+ $err = $func->setProto(trim($line), $this->extension);
if (PEAR::isError($err)) {
$this->terminate($err->getMessage());
}
@@ -330,7 +330,7 @@ function docEntry($base)
* @param string Extension name
* @return string DocBook XML snippet
*/
- static function docFooter()
+ static function docFooter($name)
{
return " </variablelist>\n";
}
@@ -408,7 +408,7 @@ function docEntry($base)
* @param string extension basename
* @return string DocBook XML snippet
*/
- static function docFooter()
+ static function docFooter($name)
{
return
" </tbody>
@@ -211,7 +211,7 @@ function cCode($name)
* @access public
* @return string C code snippet
*/
- function hCode()
+ function hCode($extension)
{
$len = strlen($this->data);
$code = " ";
@@ -387,9 +387,9 @@ function setRole($role)
*
* @param string code snippet
*/
- function setCode($code)
+ function setCode($code, $line = 0, $file = "")
{
- parent::setCode($code);
+ parent::setCode($code, $line, $file);
return $this->validate();
}
@@ -275,7 +275,7 @@ function cCode($extension)
* @access public
* @return string C code snippet
*/
- function hCode()
+ function hCode($extension)
{
$upname = strtoupper($this->name);
@@ -206,7 +206,7 @@ function cCode($extension)
* @access public
* @return string C code snippet
*/
- function hCode()
+ function hCode($extension)
{
return "/* ".$this->name." stream goes here */\n";
}

0 comments on commit fb8f132

Please sign in to comment.