source/Service/Content/Parser/InformationListOfLineParser.php 1 location
|
@@ 70-78 (lines=9) @@
|
67 |
|
} |
68 |
|
} |
69 |
|
|
70 |
|
foreach ($listOMandatoryProperties as $name => $mandatoryProperty) { |
71 |
|
if (is_null($mandatoryProperty)) { |
72 |
|
throw new InvalidArgumentException( |
73 |
|
'could not find mandatory property "' |
74 |
|
. $listOfMandatoryPropertyNameToStartsWithPrefix[$name] |
75 |
|
. '"' |
76 |
|
); |
77 |
|
} |
78 |
|
} |
79 |
|
|
80 |
|
$information = new Information( |
81 |
|
$listOMandatoryProperties['date_of_built'], |
source/Service/Content/Parser/StatisticListOfLineParser.php 1 location
|
@@ 143-151 (lines=9) @@
|
140 |
|
} |
141 |
|
} |
142 |
|
|
143 |
|
foreach ($listOMandatoryProperties as $name => $mandatoryProperty) { |
144 |
|
if (is_null($mandatoryProperty)) { |
145 |
|
throw new InvalidArgumentException( |
146 |
|
'could not find mandatory property "' |
147 |
|
. $listOfMandatoryPropertyNameToStartsWithPrefix[$name] |
148 |
|
. '"' |
149 |
|
); |
150 |
|
} |
151 |
|
} |
152 |
|
|
153 |
|
$statistic = new Statistic( |
154 |
|
$listOMandatoryProperties['b_per_seconds'], |