Skip to content

Commit 129835d

Browse files
authored
Merge pull request #834 from LearningLocker/issue/819
Updates the StatementFactory to fix #819.
2 parents 345c309 + 7913903 commit 129835d

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

app/locker/repository/Statement/IndexOptions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ class IndexOptions extends Options {
3434
'related_activities' => 'Boolean',
3535
'related_agents' => 'Boolean',
3636
'ascending' => 'Boolean',
37-
'format' => 'String',
37+
'format' => 'Str',
3838
'offset' => 'Integer',
3939
'limit' => 'Integer',
4040
'langs' => ['Language'],
4141
'attachments' => 'Boolean',
4242
'lrs_id' => null,
43-
'scopes' => ['String'],
43+
'scopes' => ['Str'],
4444
'client' => null
4545
];
4646

app/locker/repository/Statement/ShowOptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class ShowOptions extends Options {
99
'lrs_id' => null,
1010
'voided' => 'Boolean',
1111
'active' => 'Boolean',
12-
'scopes' => ['String'],
12+
'scopes' => ['Str'],
1313
'client' => null
1414
];
1515
}

app/locker/repository/Statement/StoreOptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class StoreOptions extends Options {
55
protected $types = [
66
'lrs_id' => null,
77
'authority' => 'Authority',
8-
'scopes' => ['String'],
8+
'scopes' => ['Str'],
99
'client' => null
1010
];
1111
}

composer.lock

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)