Skip to content

Commit

Permalink
ITKDev: Updated code style to match d10
Browse files Browse the repository at this point in the history
  • Loading branch information
cableman committed Oct 16, 2024
1 parent 9021e98 commit 9644f55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Controller/LocalTasksController.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static function create(ContainerInterface $container): LocalTasksControll
* @return array<string, mixed>
* An array containing the form definition.
*/
public function dynamicTasks(string $type = NULL): array {
public function dynamicTasks(?string $type = NULL): array {
if (empty($type)) {
return $this->formBuilder->getForm('\Drupal\os2web_audit\Form\SettingsForm');
}
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/AuditException.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class AuditException extends \Exception {
*/
private string $pluginName = 'Unknown plugin';

public function __construct(string $message = "", int $code = 0, \Throwable $previous = NULL, ?string $pluginName = NULL) {
public function __construct(string $message = "", int $code = 0, ?\Throwable $previous = NULL, ?string $pluginName = NULL) {
parent::__construct($message, $code, $previous);

if (isset($pluginName)) {
Expand Down

0 comments on commit 9644f55

Please sign in to comment.