Skip to content
Snippets Groups Projects
Commit bcf9844e authored by catch's avatar catch
Browse files

phpcs.

parent 3a7f4ef0
No related branches found
No related tags found
No related merge requests found
Pipeline #401010 passed with warnings
<?php
declare(strict_types=1);
namespace Drupal\lms_certificate;
use Drupal\Core\Field\BaseFieldDefinition;
/**
* Provides a field definition class for bundle fields.
*
* Copied from https://git.drupalcode.org/project/entity/-/blob/8.x-1.x/src/BundleFieldDefinition.php?ref_type=heads
*
* @see https://www.drupal.org/node/2280639
*
*/
class BundleFieldDefinition extends BaseFieldDefinition {
/**
* {@inheritdoc}
*/
public function isBaseField(): bool {
return FALSE;
}
}
......@@ -30,6 +30,9 @@ class CertificateController extends ControllerBase {
protected HttpKernelInterface $httpKernel,
) {}
/**
* {@inheritdoc}
*/
public static function create(ContainerInterface $container): static {
return new static(
$container->get('controller_resolver'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment