File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
modules/os2forms_dawa/src/Plugin/os2web/DataLookup Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ before starting to add changes. Use example [placed in the end of the page](#exa
1111
1212## [ Unreleased]
1313
14+ - [ OS-115] Skipping empty maktrikula objects
15+
1416## [ 3.16.0] 2024-08-27
1517
1618[ #110 ] ( https://github.com/OS2Forms/os2forms/pull/110 )
Original file line number Diff line number Diff line change 99use Drupal \os2web_datalookup \Plugin \os2web \DataLookup \DataLookupBase ;
1010use GuzzleHttp \ClientInterface ;
1111use Symfony \Component \DependencyInjection \ContainerInterface ;
12- use TypeError ;
1312
1413/**
1514 * Defines a plugin for Datafordeler Data.
@@ -95,7 +94,7 @@ public function getMatrikulaEntries(string $matrikulaId) : array {
9594 try {
9695 $ matrikulaEntries [] = new DatafordelerMatrikula ($ jordstyk );
9796 }
98- catch (TypeError $ e ) {
97+ catch (\ TypeError $ e ) {
9998 // Could not create matrikula object.
10099 }
101100 }
You can’t perform that action at this time.
0 commit comments