@@ -37,6 +37,9 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | protected $config; |
| 39 | 39 | |
| 40 | + /** |
|
| 41 | + * @param string $name |
|
| 42 | + */ |
|
| 40 | 43 | public function __construct($name, $title = null, $value = null) { |
| 41 | 44 | $this->config = $this->config()->default_config; |
| 42 | 45 | |
@@ -120,6 +123,7 @@ discard block |
||
| 120 | 123 | * Remove the parts of the url we don't want. |
| 121 | 124 | * Set any defaults, if missing. |
| 122 | 125 | * Remove any trailing slash, and rebuild. |
| 126 | + * @param string $url |
|
| 123 | 127 | * @return string |
| 124 | 128 | */ |
| 125 | 129 | protected function rebuildURL($url) { |