Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sdc
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
sdc
Commits
e25b3d08
Unverified
Commit
e25b3d08
authored
2 years ago
by
Mateu Aguiló Bosch
Committed by
Mateu Aguiló Bosch
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3317320
by e0ipso: Unable to install in Drupal 10
parent
4d81a64e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sdc.info.yml
+1
-2
1 addition, 2 deletions
sdc.info.yml
src/Twig/TwigComponentLoader.php
+1
-1
1 addition, 1 deletion
src/Twig/TwigComponentLoader.php
with
2 additions
and
3 deletions
sdc.info.yml
+
1
−
2
View file @
e25b3d08
...
...
@@ -3,6 +3,5 @@ description: Drupal module that allows to declare, discover, and render self-con
type
:
module
dependencies
:
-
drupal:serialization
core
:
8.x
core_version_requirement
:
^8 || ^9 || ^10
core_version_requirement
:
^10
configure
:
sdc.settings
This diff is collapsed.
Click to expand it.
src/Twig/TwigComponentLoader.php
+
1
−
1
View file @
e25b3d08
...
...
@@ -166,7 +166,7 @@ class TwigComponentLoader implements LoaderInterface {
/**
* {@inheritdoc}
*/
public
function
isFresh
(
$name
,
$time
)
{
public
function
isFresh
(
string
$name
,
int
$time
)
:
bool
{
$file_is_fresh
=
static
fn
(
string
$path
)
=>
filemtime
(
$path
)
<
$time
;
try
{
$component
=
$this
->
parseIdAndLoadComponent
(
$name
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment