4.8 Transition Guide

You need a comparison operator ‘==’, not an assignment operator ‘=’ inside your if statement.