Code Duplication    Length = 6-6 lines in 2 locations

app/Stats.php 2 locations

@@ 62-67 (lines=6) @@
59
	 */
60
	public function getAllTagsTable() {
61
		$examples = [];
62
		foreach (get_class_methods($this) as $method) {
63
			$reflection = new \ReflectionMethod($this, $method);
64
			if ($reflection->isPublic() && !in_array($method, $this->public_but_not_allowed)) {
65
				$examples[$method] = $this->$method();
66
			}
67
		}
68
		ksort($examples);
69
70
		$html = '';
@@ 100-105 (lines=6) @@
97
	 */
98
	public function getAllTagsText() {
99
		$examples = [];
100
		foreach (get_class_methods($this) as $method) {
101
			$reflection = new \ReflectionMethod($this, $method);
102
			if ($reflection->isPublic() && !in_array($method, $this->public_but_not_allowed)) {
103
				$examples[$method] = $method;
104
			}
105
		}
106
		ksort($examples);
107
108
		return implode('<br>', $examples);