Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR: Fix E_STRICT notices in php-peg

  • Loading branch information...
commit 501c8f3f31504fe544265fa0b2e1881568454b63 1 parent c5aa074
Andrew O'Neil ajoneil authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 thirdparty/php-peg/Parser.php
6 thirdparty/php-peg/Parser.php
View
@@ -269,16 +269,16 @@ function packwrite( $key, $pos, $res ) {
* @author Hamish Friedlander
*/
class ConservativePackrat extends Parser {
- function packhas( $key ) {
+ function packhas( $key, $pos ) {
return isset( $this->packres[$key] ) && $this->packres[$key] !== NULL ;
}
- function packread( $key ) {
+ function packread( $key, $pos ) {
$this->pos = $this->packpos[$key];
return $this->packres[$key] ;
}
- function packwrite( $key, $res ) {
+ function packwrite( $key, $pos, $res ) {
if ( isset( $this->packres[$key] ) ) {
$this->packres[$key] = $res ;
$this->packpos[$key] = $this->pos ;
Please sign in to comment.
Something went wrong with that request. Please try again.