span class="hljs-title">update</span><span class="hljs-params">(Request $request, Sensor $sensor)</span>
    </span>{
        <span class="hljs-comment">//</span>
        $request-&gt;validate([
            <span class="hljs-string">'erb_id'</span>=&gt;<span class="hljs-string">'required|string|max:100'</span>,
            <span class="hljs-string">'num_serie'</span>=&gt;<span class="hljs-string">'required|string|max:100'</span>,
            <span class="hljs-string">'passw'</span>=&gt;<span class="hljs-str