@@ -866,14 +866,14 @@ |
||
866 | 866 | return count($words[0]); |
867 | 867 | } |
868 | 868 | |
869 | - /** |
|
870 | - * A helper method to validate a $value via a callable $param. |
|
871 | - * |
|
872 | - * @param string $value |
|
873 | - * @param string $param |
|
874 | - * |
|
875 | - * @return string |
|
876 | - */ |
|
869 | + /** |
|
870 | + * A helper method to validate a $value via a callable $param. |
|
871 | + * |
|
872 | + * @param string $value |
|
873 | + * @param string $param |
|
874 | + * |
|
875 | + * @return string |
|
876 | + */ |
|
877 | 877 | private function remote($value, $param) |
878 | 878 | { |
879 | 879 | $value = (isset($this->rules[$param]) && is_callable($this->rules[$param])) ? $this->rules[$param]($value) : false; |
@@ -116,8 +116,6 @@ |
||
116 | 116 | * - '**list-inline**' - For an unordered list to be displayed horizontally. |
117 | 117 | * - '**list-unstyled**' - For an unordered list to be unbulleted. |
118 | 118 | * - '**dl-horizontal**' - For a definition to be displayed beside it's title rather than below. |
119 | - |
|
120 | - |
|
121 | 119 | * @param array $list For Ordered and Unordered lists this is an ``array($li, $li, ...)``, and to nest another list just make the ``$li`` another array. |
122 | 120 | * |
123 | 121 | * For Definition Lists this is an ``array($title => $definition, ...)``. If you have multiple ``$definition``'s, then just make ``$title`` an array of them. |
@@ -69,7 +69,10 @@ |
||
69 | 69 | ), $url), EXTR_SKIP); |
70 | 70 | $enforce = (is_string($base)) ? true : false; |
71 | 71 | $page = new static(); |
72 | - if (isset($testing)) $page->testing = $testing; // ie. $this->testing = $testing |
|
72 | + if (isset($testing)) { |
|
73 | + $page->testing = $testing; |
|
74 | + } |
|
75 | + // ie. $this->testing = $testing |
|
73 | 76 | $page->request = (is_null($request)) ? Request::createFromGlobals() : $request; |
74 | 77 | if (false === $folder = realpath($dir)) { |
75 | 78 | $folders = array(); |