New contact form with friendlycaptcha

This commit is contained in:
Jorit Tijsen committed 2026-02-24 14:04:04 +01:00
1 parent 6786ac7ce1
commit 3b4030113b
80 files changed
+2860 -1918

No files matched your search

+2 -15
View File
@@ -16,22 +16,9 @@ namespace Nette;
trait StaticClass
{
/**
* @return never
* @throws \Error
* Class is static and cannot be instantiated.
*/
final public function __construct()
private function __construct()
{
throw new \Error('Class ' . static::class . ' is static and cannot be instantiated.');
}
/**
* Call to undefined static method.
* @return void
* @throws MemberAccessException
*/
public static function __callStatic(string $name, array $args)
{
Utils\ObjectHelpers::strictStaticCall(static::class, $name);
}
}