Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberroland committed Oct 31, 2023
1 parent 0afff20 commit 225b336
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lam/tests/design/designExamples.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
'text 4',
'text 5',
], 'sortableList1');
$sortableList1->setCSSClasses(array('module-list'));
$sortableList1->setCSSClasses(['module-list']);
$row->add($sortableList1);

$row->add(new htmlSpacer(null, '2rem'));
Expand Down
8 changes: 4 additions & 4 deletions lam/tests/tools/multiEdit/MultiEditTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ public function testExtractWildcards() {
public function testReplaceWildcards() {
$entry = [
'dn' => 'cn=admin,dc=example,dc=com',
'sn' => array('Steve'),
'givenName' => array('Miller'),
'uid' => array('smiller'),
'description' => array('line1', 'line2')
'sn' => ['Steve'],
'givenName' => ['Miller'],
'uid' => ['smiller'],
'description' => ['line1', 'line2']
];
$this->assertEquals('Steve', replaceWildcards('%Sn%', $entry));
$this->assertEquals('S', replaceWildcards('@Sn@', $entry));
Expand Down

0 comments on commit 225b336

Please sign in to comment.