summaryrefslogtreecommitdiff
path: root/src/application/mystic/forum/utils/StaticClass.php
blob: e55ada91f89c6bb80a60bb6964004cea751554b4 (plain)
1
2
3
4
5
6
7
8
9
10
<?php
declare(strict_types=1);

namespace mystic\forum\utils;

trait StaticClass {
    public function __construct() {
        throw new \RuntimeException("Cannot instantiate static class " . self::class);
    }
}