Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump stan to level 5 #40

Merged
merged 2 commits into from
Aug 4, 2023
Merged

Bump stan to level 5 #40

merged 2 commits into from
Aug 4, 2023

Conversation

dvesh3
Copy link
Contributor

@dvesh3 dvesh3 commented Aug 4, 2023

No description provided.

@dvesh3 dvesh3 added the Task label Aug 4, 2023
@dvesh3 dvesh3 added this to the v4.0.2 milestone Aug 4, 2023
@dvesh3 dvesh3 merged commit be337b0 into 4.0 Aug 4, 2023
@dvesh3 dvesh3 deleted the dvesh3-patch-1 branch August 4, 2023 06:53
Comment on lines +108 to 111
/** @var Concrete $object1 */
$object1 = AbstractObject::getById(intval($id1));
/** @var Concrete $object2 */
$object2 = AbstractObject::getById(intval($id2));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/** @var Concrete $object1 */
$object1 = AbstractObject::getById(intval($id1));
/** @var Concrete $object2 */
$object2 = AbstractObject::getById(intval($id2));
$object1 = Concrete::getById((int) $id1);
$object2 = Concrete::getById((int) $id2);
if (!$object1 || !$object2) {
throw $this->createNotFoundException();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants