Completed
Push — master ( ea1817...bbd140 )
by Chris
03:35
created
php/hamle/Text/Comparison.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@
 block discarded – undo
33 33
   protected $param1, $param2, $operator;
34 34
   const REGEX_COMP_OPER = '(equals|notequal|notequals|less|greater|has|starts|contains|ends)';
35 35
 
36
+  /**
37
+   * @param string $s
38
+   */
36 39
   function __construct($s, $mode = self::TOKEN_CONTROL) {
37 40
     $m = array();
38 41
     if(preg_match('/^(.*) '.self::REGEX_COMP_OPER.' (.*)$/', $s, $m)) {
Please login to merge, or discard this patch.
php/hamle/Text/Complex.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@
 block discarded – undo
33 33
   protected $sel = null;
34 34
   protected $filter;
35 35
 
36
+  /**
37
+   * @param string $s
38
+   */
36 39
   function __construct($s) {
37 40
     if(FALSE !== $pos = strpos($s,'|')) {
38 41
       $this->filter = new Filter(substr($s, $pos+1), $this);
Please login to merge, or discard this patch.
php/hamle/Text/Filter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@
 block discarded – undo
36 36
   /** @var SimpleVar  */
37 37
   protected $what;
38 38
 
39
+  /**
40
+   * @param string $s
41
+   */
39 42
   function __construct($s, Text $what) {
40 43
     if(preg_match("/^([a-z]+)(\\((.*)\\))$/",$s, $m)) {
41 44
       $this->filter = $m[1];
Please login to merge, or discard this patch.
php/hamle/Text/FuncSub.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@
 block discarded – undo
31 31
 class FuncSub extends Hamle\Text\Func {
32 32
   protected $dir;
33 33
 
34
+  /**
35
+   * @param string $s
36
+   */
34 37
   function __construct($s) {
35 38
     $m = array();
36 39
     if (!preg_match('/^ +([><]) +('.self::REGEX_FUNCSEL . '+)(.*)$/', $s, $m))
Please login to merge, or discard this patch.
php/hamle/Text/Plain.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
13 13
   protected $s;
14 14
   protected $type;
15 15
 
16
+  /**
17
+   * @param string $s
18
+   */
16 19
   function __construct($s, $type = self::TOKEN_HTML) {
17 20
     $this->s = str_replace('\\$', "$", $s);
18 21
     $this->type = $type;
Please login to merge, or discard this patch.